MySQL car system
#4

Still need help!
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]);
}

This is my code.
Reply


Messages In This Thread
MySQL car system - by Delgad0 - 21.11.2014, 16:16
Re: MySQL car system - by BigGroter - 21.11.2014, 16:30
Re: MySQL car system - by Delgad0 - 21.11.2014, 16:35
Re: MySQL car system - by Delgad0 - 21.11.2014, 19:00
Re: MySQL car system - by zT KiNgKoNg - 21.11.2014, 19:14
Re: MySQL car system - by BigGroter - 21.11.2014, 23:14
Re: MySQL car system - by Delgad0 - 22.11.2014, 07:19

Forum Jump:


Users browsing this thread: 1 Guest(s)