Licenses Plate
#1

Hello, I have this
Quote:

if (strcmp(cmd, "/changeplate", true, 12)==0)
{
cmd = strtok(cmdtext, idx);
if(!strlen(cmd))
{
SendClientMessage(playerid, 0xFFFFFFAA, "USAGE: /changeplate [platenumber (up to 8 chars, use '-' for space char)]");
return 1;
}
if(IsPlayerInAnyVehicle(playerid) == 1)
{
SetVehicleNumberPlate(GetPlayerVehicleID(playerid) , cmd);
new vehid=GetPlayerVehicleID(playerid);
SetVehicleToRespawn(vehid);
SendClientMessage(playerid, 0xFF9900AA, "License plate changed!");
new Float;
new Float:y;
new Float:z;
new Float;
GetVehicleZAngle(vehid, p);
GetPlayerPos(playerid, x, y, z);
SetVehiclePos(vehid, x, y, z);
SetVehicleZAngle(vehid, p);
//GameTextForPlayer(playerid, cmd, 2500, 3);
PutPlayerInVehicle(playerid, vehid, 0);

return 1;
}
else
{
SendClientMessage(playerid, 0xFF9900AA, "You are not in a vehicle.");
}
return 1;
}

command on the gamemode, and I would like to somehow save the license plates.
I can help someone make a save file? Please helpme ....
If you need something gamemode, ask me.
Reply


Messages In This Thread
Licenses Plate - by rashier - 07.08.2011, 23:08
Re: Licenses Plate - by RockFire - 09.08.2011, 21:37
Re: Licenses Plate - by rashier - 09.08.2011, 21:48
Re: Licenses Plate - by TheArcher - 09.08.2011, 22:13
Re: Licenses Plate - by rashier - 10.08.2011, 08:59
Re: Licenses Plate - by TheArcher - 10.08.2011, 10:53
Re: Licenses Plate - by rashier - 10.08.2011, 18:17
Re: Licenses Plate - by rashier - 11.08.2011, 13:25
Re : Licenses Plate - by jasonnw666 - 11.08.2011, 13:38
Re: Licenses Plate - by Darnell - 11.08.2011, 14:01

Forum Jump:


Users browsing this thread: 6 Guest(s)