11.12.2014, 16:24
hi all
i want something that every player enter a personal vehicle send a message that this vehicle is for %s
i do this but when i enter every vehicle that are not personal vehicle it send me the message
plz help Plz for rep
i put it under onplayerstatechange
Please Help
i want something that every player enter a personal vehicle send a message that this vehicle is for %s
i do this but when i enter every vehicle that are not personal vehicle it send me the message
plz help Plz for rep
i put it under onplayerstatechange
Код:
if(newstate == PLAYER_STATE_DRIVER && oldstate != PLAYER_STATE_DRIVER) { if(PlayerInfo[playerb][pVeh] || PlayerInfo[playerb][pVVeh] || PlayerInfo[playerb][pBVeh]) { format(string, sizeof(string), "** you entered to %s 's vehicle **", RPN(playerb)); SendClientMessage(playerid,COLOR_LIGHTB,string); } else { format(string, sizeof(string), "** %s wellcome to your vehicle**", RPN(playerid)); SendClientMessage(playerid,COLOR_LIGHTB,string); } return 1; }