how to delete player vehicles?
#1

please help me .

how to delete player vehicle or set vehicle of player is emty in register finish?

my gamemode have error , player register then receive one or two or three cars random model .

and now , i will code script for delete car then player reg finish .

help me ... pls .

and which function is use for this . Tks so much .
Reply
#2

if its PVars, they get deleted automatically upon Disconnect. If they are normal variables, for vehicle you can use PlayerVariable[playerid] = INVALID_VEHICLE_ID; to set its vaule to invalid, or you could set the value to -1. not 0, but -1
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)