11.05.2010, 15:14
Allowing 1 car per person?
11.05.2010, 15:14
11.05.2010, 15:15
lol, man edit your post and use or paste it in http://pastebin.com because
its very hard to read
EDIT : Okay, paste it in http://pastebin.com
because its a long code :O
its very hard to read
EDIT : Okay, paste it in http://pastebin.com
because its a long code :O
11.05.2010, 15:16
11.05.2010, 15:17
Quote:
Originally Posted by lewisno7
|
anyways, what do you mean by a 1 car per person only?
11.05.2010, 15:18
Like, only 1 car per person / character.
11.05.2010, 15:19
Use variables...
like
On top.
This is for your code.
Mayko, not global...use [MAX_PLAYERS] for one player only, not for everyone...
like
On top.
pawn Код:
new OnCarPerPlayer[MAX_PLAYERS];
pawn Код:
If(OneCarPerPlayer[playerid] == 1)
{
SendClientMessage(playerid, color, " One car per player!!!");
}
else
{
//Code to spawn the car
OneCarPerPlayer[playerid] = 1;//(To make it 1, and when he types again the command he will receive the message above)
}
Mayko, not global...use [MAX_PLAYERS] for one player only, not for everyone...
11.05.2010, 15:20
Where abouts in the code do i put this, end or start?
11.05.2010, 15:31
BUMP
11.05.2010, 15:52
bump -.-
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)