24.04.2015, 00:15
Hello Every One
Guys i Want know somthings
how i can make Random CP For Kidnap And After He is in CP Take Random Money ? This Smail Help
+Reps
Guys i Want know somthings
how i can make Random CP For Kidnap And After He is in CP Take Random Money ? This Smail Help
+Reps
PHP код:
CMD:kidnap(playerid, params[])
{
new id;
if(sscanf(params,"d",id)) return SendClientMessage(playerid, 0xFF0000FF, "USAGE: /kidnap [id]");
if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xFF0000FF, "ERROR: You must be on vehicle!");
if(noexit[id] == 1) noexit[id] = 0;
noexit[id] = 1;
PutPlayerInVehicle(id, GetPlayerVehicleID(playerid), 1);
return 1;
}