02.08.2009, 14:01
Eh I mean, If the player IS NOT in a vehicle, he can't teleport. "You must be in a vehicle to use this command" That's what I'm trying to tell you. >.<
pawn Код:
if(strcmp(cmdtext, "/lowrider", true) == 0) {
ResetPlayerWeapons(playerid);
if(IsPlayerInAnyVehicle(playerid)) SetVehiclePos(GetPlayerVehicleID(playerid), 2645.40, -2004.71, 13.38);
else SetPlayerPos(playerid, 2645.40, -2004.71, 13.38);
GivePlayerMoney(playerid, 50000);
return 1;
}