MySQL Dealership bug(TEST COMMAND)
#1

Hi as my title say,the dealership command,Test have a bug,it don't happen nothing...i want to put the player in the car and after 30 seconds to expire the time and to teleport again at the dealership,but this don't happen? Any helps?
CODES:

if(clickedid == ButonTesteaza[playerid])
{
SetTimerEx("TimpScurs",30 * 1000,0,"d",playerid);
SetVehicleVirtualWorld(IDmasina[playerid],0);
SendClientMessage(playerid, -1, "test");
PutPlayerInVehicle(playerid,IDmasina[playerid],0);
SetPlayerVirtualWorld(playerid, 0);
TogglePlayerControllable(playerid, 1);
SetCameraBehindPlayer(playerid);
TextDrawHideForPlayer(playerid,Linie[playerid]);
TextDrawHideForPlayer(playerid,ButonInapoi[playerid]);
TextDrawHideForPlayer(playerid,ButonUrmator[playerid]);
TextDrawHideForPlayer(playerid,ButonTesteaza[playerid]);
TextDrawHideForPlayer(playerid,ButonCumpara[playerid]);
TextDrawHideForPlayer(playerid,ButonAnuleaza[playerid]);
TextDrawHideForPlayer(playerid,DealerMasina[playerid]);
TextDrawHideForPlayer(playerid,DealerPret[playerid]);
CancelSelectTextDraw(playerid);
}

function TimpScurs(playerid)
{
DestroyVehicle(IDmasina[playerid]);
SetPlayerPos(playerid,2131.9553,-1149.4324,24.2693);
}
Reply
#2

You can try replace function TimpScurs(playerid) by forward TimpScurs(playerid);
public TimpScurs(playerid)
{
...
Reply
#3

Nop sorry it doesn't work...anyone?
Reply
#4

UP,please help?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)