24.03.2015, 14:02
I made but how can I make to appear "if in 20 seconds you don't have trailer you lose job and truck respawns" how can I do it?
AddStaticVehicleEx ( vehicleidoftruck, Fload X, Float Y, Float z, camera, color1, color2, time to respawn the vehicle ); and if you want him to to get msg about your vehicle respawn in 20 seconds public OnPlayerExitVehicle(playerid, vehicleid) { new string[35]; format(string, sizeof(string), "INFO: You will lose your job , If you don't take your trainer in 20 seconds", vehicleid);// use the same vehicle id.. SendClientMessage(playerid, 0xFFFFFFFF, string); return 1; } This will make the player get a msg after he leoft the truck , if you put the truCk id that you use In your your server |