31.07.2015, 11:12
Iam tring to make a limit for cars in my script
I tried to make one, but i can't.
I need help.
<quote> new Float:X;
new Float:Y;
new Float:Z;
#define Infernus 5
if (Infernus > 5) return SendClientMessage(playerid, -1, " You can't spawn more than 5 Infernus car.! ");
GetPlayerPos(playerid,X,Y,Z);
Infernus = CreateVehicle(411,X,Y+5,Z,1,1,1,1000); </quote>
I tried to make one, but i can't.
I need help.
<quote> new Float:X;
new Float:Y;
new Float:Z;
#define Infernus 5
if (Infernus > 5) return SendClientMessage(playerid, -1, " You can't spawn more than 5 Infernus car.! ");
GetPlayerPos(playerid,X,Y,Z);
Infernus = CreateVehicle(411,X,Y+5,Z,1,1,1,1000); </quote>