Author Topic: Suggestions  (Read 20781 times)

0 Members and 1 Guest are viewing this topic.

Offline Timmy

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • SkR Clan
Re: Suggestions
« Reply #270 on: February 15, 2010, 06:24:26 PM »
Also, like in pawn, separate getPlayerPosition so we can control the x, y, and z by ourselves.

Edit: Lol oops, double post.

I actually like it the way it is :S

Offline iPk

  • pkSEF and pkLTS owner
  • Global Moderator
  • *****
  • Posts: 956
  • Pyropaste.com
    • View Profile
    • PyroPaste - Pyrokid's Pastebin
Re: Suggestions
« Reply #271 on: February 15, 2010, 06:55:49 PM »
Also, like in pawn, separate getPlayerPosition so we can control the x, y, and z by ourselves.

Edit: Lol oops, double post.

I actually like it the way it is :S
It's more convenient, but, you have no control over the x, y, or z. For example, I cannot set the player's Z to +100 to make him fly in the air.

Another way to combat this while keeping getPlayerPosition's convenience is to make a setPlayerXYZ function. It could be used alongside setPlayerPos like this:

Code: [Select]
setPlayerPos(playerid,getPlayerPos(id));
setPlayerXYZ(playerid, 30.2, 10.5, +100, getPlayerPos(id));

In the code above, the var id is the id of another player because it's a command to go to another player's position. That function would set the XYZ of myself according to the XYZ of the player you're teleporting to. Or you could do setPlayerXYZ(playerid, 30.2, 10.5, +100, getPlayerPos(playerid)); which would set the XYZ according to yourself. And then, if you didn't want to change an x, y, or z, you could put null or 0 where you want, like:
Code: [Select]
setPlayerXYZ(playerid, null, null, +100, getPlayerPos(id));

Just my 2 cents. :P
« Last Edit: February 15, 2010, 06:57:44 PM by pıʞoɹʎd »
Firefox is dead. Get chrome!
Need to paste some code?: PyroPaste it!
The Joys of Alpha 2



Quote from: #pksef
[05:09] <&PkSEF|Echo> [3] <god> what names is the aircraft airplane pls?
[05:09] <&PkSEF|Echo> [2] <Smokey> idk bro
[05:09] <&PkSEF|Echo> **[3] god used the command /v idk
Quote from: #ivmp.vip
[07:00] <&JeNkStA> WTF
[07:00] <&JeNkStA> !kb MrWhoopee
[07:00] * MrWhoopee sets mode: +b *!*@gtanet-6B6DB605.zone4.bethere.co.uk
[07:00] * JeNkStA was kicked by MrWhoopee (Oops! (JeNkStA))
Quote from: TrojaA on #ivmp.vip
Common [names are]: Adolf, Heinz, oh wait wrong time: Michelle, Daniala, Charlotte, ... :o
Quote from: MeKorea|Laptop on #ivmp
(15:46:13) (kingdutch) Woot, always nice to come back after like 2 hours of absense to find your antivirus crashes
(15:46:23) (kingdutch) I start it back up, 5 threats detected >.>
(15:46:48) (MeKorea|Laptop) have a nice format

Offline Timmy

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • SkR Clan
Re: Suggestions
« Reply #272 on: February 16, 2010, 04:15:25 PM »
Also, like in pawn, separate getPlayerPosition so we can control the x, y, and z by ourselves.

Edit: Lol oops, double post.

I actually like it the way it is :S
It's more convenient, but, you have no control over the x, y, or z. For example, I cannot set the player's Z to +100 to make him fly in the air.

Another way to combat this while keeping getPlayerPosition's convenience is to make a setPlayerXYZ function. It could be used alongside setPlayerPos like this:

Code: [Select]
setPlayerPos(playerid,getPlayerPos(id));
setPlayerXYZ(playerid, 30.2, 10.5, +100, getPlayerPos(id));

In the code above, the var id is the id of another player because it's a command to go to another player's position. That function would set the XYZ of myself according to the XYZ of the player you're teleporting to. Or you could do setPlayerXYZ(playerid, 30.2, 10.5, +100, getPlayerPos(playerid)); which would set the XYZ according to yourself. And then, if you didn't want to change an x, y, or z, you could put null or 0 where you want, like:
Code: [Select]
setPlayerXYZ(playerid, null, null, +100, getPlayerPos(id));

Just my 2 cents. :P

Script the setPlayerXYZ yourself then? It's actually pretty easy lol

Offline iPk

  • pkSEF and pkLTS owner
  • Global Moderator
  • *****
  • Posts: 956
  • Pyropaste.com
    • View Profile
    • PyroPaste - Pyrokid's Pastebin
Re: Suggestions
« Reply #273 on: February 16, 2010, 07:28:54 PM »
Well I guess setPlayerXYZ is a bad name for it since it's the same concept as setting the pos. What I was trying to get at was setting the player's angle and height relative to what getPlayerPos set. Timmy, as it is now, that is impossible to do since I cannot actually get each float individually from getPlayerPos. But if you would like to show us how easy it is, go for it.
« Last Edit: February 16, 2010, 07:30:46 PM by pıʞoɹʎd »
Firefox is dead. Get chrome!
Need to paste some code?: PyroPaste it!
The Joys of Alpha 2



Quote from: #pksef
[05:09] <&PkSEF|Echo> [3] <god> what names is the aircraft airplane pls?
[05:09] <&PkSEF|Echo> [2] <Smokey> idk bro
[05:09] <&PkSEF|Echo> **[3] god used the command /v idk
Quote from: #ivmp.vip
[07:00] <&JeNkStA> WTF
[07:00] <&JeNkStA> !kb MrWhoopee
[07:00] * MrWhoopee sets mode: +b *!*@gtanet-6B6DB605.zone4.bethere.co.uk
[07:00] * JeNkStA was kicked by MrWhoopee (Oops! (JeNkStA))
Quote from: TrojaA on #ivmp.vip
Common [names are]: Adolf, Heinz, oh wait wrong time: Michelle, Daniala, Charlotte, ... :o
Quote from: MeKorea|Laptop on #ivmp
(15:46:13) (kingdutch) Woot, always nice to come back after like 2 hours of absense to find your antivirus crashes
(15:46:23) (kingdutch) I start it back up, 5 threats detected >.>
(15:46:48) (MeKorea|Laptop) have a nice format

Offline Mr.Hankey

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: Suggestions
« Reply #274 on: February 17, 2010, 09:04:07 PM »
I don't see the use of your function reallly... (probably because im still not sure what exactly it's supposed to do)
But what about just using setPlayerRotation, setPlayerPosition and getPlayerPosition in combination with a bit of math.

Offline iPk

  • pkSEF and pkLTS owner
  • Global Moderator
  • *****
  • Posts: 956
  • Pyropaste.com
    • View Profile
    • PyroPaste - Pyrokid's Pastebin
Re: Suggestions
« Reply #275 on: February 18, 2010, 02:09:24 AM »
I don't see the use of your function reallly... (probably because im still not sure what exactly it's supposed to do)
But what about just using setPlayerRotation, setPlayerPosition and getPlayerPosition in combination with a bit of math.
That works too.
Firefox is dead. Get chrome!
Need to paste some code?: PyroPaste it!
The Joys of Alpha 2



Quote from: #pksef
[05:09] <&PkSEF|Echo> [3] <god> what names is the aircraft airplane pls?
[05:09] <&PkSEF|Echo> [2] <Smokey> idk bro
[05:09] <&PkSEF|Echo> **[3] god used the command /v idk
Quote from: #ivmp.vip
[07:00] <&JeNkStA> WTF
[07:00] <&JeNkStA> !kb MrWhoopee
[07:00] * MrWhoopee sets mode: +b *!*@gtanet-6B6DB605.zone4.bethere.co.uk
[07:00] * JeNkStA was kicked by MrWhoopee (Oops! (JeNkStA))
Quote from: TrojaA on #ivmp.vip
Common [names are]: Adolf, Heinz, oh wait wrong time: Michelle, Daniala, Charlotte, ... :o
Quote from: MeKorea|Laptop on #ivmp
(15:46:13) (kingdutch) Woot, always nice to come back after like 2 hours of absense to find your antivirus crashes
(15:46:23) (kingdutch) I start it back up, 5 threats detected >.>
(15:46:48) (MeKorea|Laptop) have a nice format

Offline Burn

  • Newbie
  • *
  • Posts: 16
  • Feel the Fire.
    • View Profile
    • Rockstar Roleplay
Re: Suggestions
« Reply #276 on: February 21, 2010, 12:55:28 AM »
Animations and Skin ID's, also so you can mod skins, and make Crips and bloods etc.

Join us as we get ready for IV:MP at Rockstar Roleplay. We have more than 110 registered members. Join in as we get bigger!

Offline Scr3aM

  • Newbie
  • *
  • Posts: 5
  • Rapper
    • View Profile
    • ScreaM Web [HUNGARIAN WEB]
Re: Suggestions
« Reply #277 on: February 26, 2010, 04:27:12 PM »
My suggestions:

- Support hungarian language [ hungarian letters: öüóőúűáéí ]
- IsPlayerNearInPoint(playerid, distance, x, y, z)) 

IsPlayerNearInPoint

Code: [Select]
stock IsPlayerNearOfPoint(Float:range, playerid, Float:X, Float:Y, Float:Z)
{
 
        new Float:px, Float:py, Float:pz;
        GetPlayerPos(playerid, px, py, pz);
        px -= X;
        py -= Y;
        pz -= Z;
        return ((px * px) + (py * py) + (pz * pz)) < (range * range);
}

--> IsPlayerNearInPoint instead could be IsPlayerInRangeOfPoint, or PlayerToPoint. similar the SA-MP  ;)
hi.
« Last Edit: March 05, 2010, 04:49:14 PM by ScreaMâ„¢ »
S_cr34_M

Offline Ravia Devaia

  • Newbie
  • *
  • Posts: 1
  • You read this.
    • View Profile
Re: Suggestions
« Reply #278 on: February 27, 2010, 09:56:58 PM »
Hello everybody!

I've got some ideas I wanted to share with you on IV:MP!

1) Flasher on the cars. Since IV singleplayer have it, maybe it is a way to let you use it on multiplayer.
2) Phonecalls. Like when you take up the phone, you can type in a number or ID, and then call it. And the person who have this number get a phonecall from you. And you use your microfone to talk.
3) Text messages. You use the phone with a number to send a text message.
4) Allow you to add sounds to the server that people can hear.
5) Add your own objects like in SA:MP and MTA San Andreas.
6) Check the wantedlist in the computer in the policecar.

I will thank Xhizors and SilverSink for helping me to get this ideas.
And I will also thank the whole team for giving us this fantastic mod to GTA IV.

Thanks and have an nice day.

Offline Jason2724

  • Newbie
  • *
  • Posts: 74
  • Started to learn C.......................
    • View Profile
Re: Suggestions
« Reply #279 on: February 28, 2010, 04:21:29 AM »
Here is a list of my suggestions:

1. Define keys (from F1 to F12) or maybe better define all keys (why not?)... im sure it will be very useful
2. Make a better spectate system (in SA-MP when someone stop spectating, then he dies  :( this is very stupid)
3. Make a way that we can hide the map, radar, icons (player position and others) etc for a specific player... so that this "SPECIFIC" player could not tell others where he is......    useful for RP servers when someone kidnaps someone...)
4. Tire popping
5. Servers should specify how much FPS players can gain
6. Make something to prevent some hacks from s0beit etc (if you can do something about this)
7. Server-side (money, armor, health...)
8. Have you ever played CS, CoD2 (one of this game im not sure  xD) admins can take pictures of players if they suspect that the player is a fuc**** cheater (this is very good, what do you think about this?  :|)


Questions:

1. Will there be parachutes in IV:MP?

2. What about houses in IV:MP ? ?  :S (in gta 4 is not much house interiors)


P.S. sorry for my bad English  :$
My English/German is not so good...

Offline iPk

  • pkSEF and pkLTS owner
  • Global Moderator
  • *****
  • Posts: 956
  • Pyropaste.com
    • View Profile
    • PyroPaste - Pyrokid's Pastebin
Re: Suggestions
« Reply #280 on: February 28, 2010, 04:50:31 AM »
resetPlayerWeapons
get/setPlayerMoney
setTimer
sendConsoleInput
Firefox is dead. Get chrome!
Need to paste some code?: PyroPaste it!
The Joys of Alpha 2



Quote from: #pksef
[05:09] <&PkSEF|Echo> [3] <god> what names is the aircraft airplane pls?
[05:09] <&PkSEF|Echo> [2] <Smokey> idk bro
[05:09] <&PkSEF|Echo> **[3] god used the command /v idk
Quote from: #ivmp.vip
[07:00] <&JeNkStA> WTF
[07:00] <&JeNkStA> !kb MrWhoopee
[07:00] * MrWhoopee sets mode: +b *!*@gtanet-6B6DB605.zone4.bethere.co.uk
[07:00] * JeNkStA was kicked by MrWhoopee (Oops! (JeNkStA))
Quote from: TrojaA on #ivmp.vip
Common [names are]: Adolf, Heinz, oh wait wrong time: Michelle, Daniala, Charlotte, ... :o
Quote from: MeKorea|Laptop on #ivmp
(15:46:13) (kingdutch) Woot, always nice to come back after like 2 hours of absense to find your antivirus crashes
(15:46:23) (kingdutch) I start it back up, 5 threats detected >.>
(15:46:48) (MeKorea|Laptop) have a nice format

Offline Sebihunter

  • Administrator
  • ******
  • Posts: 393
  • [gerG] since 2006
    • View Profile
    • Sebihunter.de
Re: Suggestions
« Reply #281 on: February 28, 2010, 11:16:26 AM »
bindKey
TextDraw's/GameText
setTimer
setPlayerTimer
setPlayerMoney
setPlayerWantedLevel
setVehicleLights
setVehicleIndicator (if theres something like that? I only know that indicators work!)
« Last Edit: February 28, 2010, 03:02:46 PM by Sebihunter »

Quote
#ivmp IRC
(22:01:15) (Mistrzu4_ivmp) where is janksta?
(22:01:58) (IksDe_ivmp) ...?
(22:02:22) (Mistrzu4_ivmp) In toilet?

Offline Timmy

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • SkR Clan
Re: Suggestions
« Reply #282 on: February 28, 2010, 02:32:19 PM »
I've read through the topic and now I might post suggestions that already have been posted ::)

setTimer(function[], interval, repeat)
setTimerEx(function[], interval, repeat, format, values)
resetPlayerWeapons(playerid)
resetPlayerMoney(playerid)
set/givePlayerMoney(playerid, amount)
set/getPlayerWantedLevel(playerid, level) (get without level param)
toggleVehicleLights(vehicleid, lights [0 - off, 1 - on, 2 - main beam (?)])
toggleVehicleEngine(vehicleid, toggle)
OR MAYBE:
setVehicleParams(vehicleid, toggle-lights, toggle-engine, toggle-alarm) instead?
getPlayerWeapon(playerid)
setVehicleLocks(vehicleid, forplayerid, toggle)
setVehicleIndicator(vehicleid, indicator [0 - off, 1 - left, 2 - right])
Add color1 and color2 parameter to createVehicle (maybe respawn delay?)
getVehicleColor(vehicleid)
setVehicleColor(vehicleid, color1, color2)

Maybe a few functions to control the cellphone? (Maybe even SMS/calling? Camera?)

createYellowMarker(x, y, z, size) (should return markerid?)
respawnVehicle(vehicleid)

Menus/GUI's/Dialogs
getVehicleHealth(vehicleid)
getVehicleModel(vehicleid)

Maybe the opportunity to use plugins? (MySQL please)

setPlayerArmour(playerid, amount) (cant find it on the wiki?)
repairVehicle(vehicleid)
setPlayerAnimation(playerid, animationid)
resetPlayerAnimation(playerid)
setPlayerVirtualWorld(playerid, worldid)
togglePlayerRagdoll(playerid, toggle) (maybe for custom death scripts?)


Question By checking player models I found out that each pedestrian got several clothes? Like coat, suit, t-shirt and so on. Will they change clothes each time you set a model? Because that would be freaking awesome!
« Last Edit: February 28, 2010, 06:03:02 PM by Timmy »

Offline Boylett (ServerHex.com)

  • www.ServerHex.com
  • Administrator
  • ******
  • Posts: 231
  • ServerHex.com
    • View Profile
    • ServerHex.com
Re: Suggestions
« Reply #283 on: February 28, 2010, 08:50:15 PM »
5. Servers should specify how much FPS players can gain
The last thing I want is a server telling me how many FPS I can have :/
We also offer webhosting

OMG customisable server signatures!! :D
Quote from: ivmp.vip
<jenksta> oh fuck
<jenksta> my finger is stuck in a bottle
<jenksta> fuck
<jenksta> got it out

Offline [miLKy_wAy]

  • Newbie
  • *
  • Posts: 35
  • :)
    • View Profile
Re: Suggestions
« Reply #284 on: February 28, 2010, 09:07:38 PM »
Here is a list of my suggestions:

1. Define keys (from F1 to F12) or maybe better define all keys (why not?)... im sure it will be very useful
5. Servers should specify how much FPS players can gain


That would be great!