21.11.2014, 19:00
Still need help!
I tryed some methods, but its not working.
This is my code.
I tryed some methods, but its not working.
Quote:
new pName[MAX_PLAYER_NAME]; new id = GetPlayeridMid(pName); GetPlayerName(id, pName, sizeof(pName)); if(vehicleid == Car[id][VehId]) { if(Car[id][Locked] >= 1) { Stop(playerid); SendClientMessage(playerid, COLOR_RED, "Car is locked."); } } stock Stop(playerid){ new Float:coo[3]; GetPlayerPos(playerid,coo[0],coo[1],coo[2]); SetPlayerPos(playerid,coo[0],coo[1],coo[2]); } |