SA-MP Forums Archive
Updatebox not working when vehicle respawns - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Updatebox not working when vehicle respawns (/showthread.php?tid=148258)



Updatebox not working when vehicle respawns - ~Dangun! - 16.05.2010

When the objective vehicle respawns, it isn't giving the update box:S

pawn Код:
ublic OnVehicleSpawn(vehicleid)
{
  new string[256];
    if (vehicleid == ObjectiveVehicle)
    {
    KillTimer(hulp);
        format (string, sizeof(string), "%s", carrespawn);
        TextDrawSetString (updatebox, string);
    hulp = SetTimer ("DestroyInfobox", 3000, false);
  }
    return 1;
}



Re: Updatebox not working when vehicle respawns - Jay. - 16.05.2010

TextDrawShowForPlayer(playerid,YourTextdrawname,);

Did you use this.?





Re: Updatebox not working when vehicle respawns - ~Dangun! - 16.05.2010

Oh lol, Thanks Didn't think of it dumb me


Re: Updatebox not working when vehicle respawns - Jay. - 16.05.2010

Quote:
Originally Posted by ReteLikker
Oh lol, Thanks Didn't think of it dumb me

np