06.09.2015, 04:56
Hi Guys
Im Making A Police System But Some Script Are Bugging
OnPlayerSpawn
OnPlayerState
When I'm Using This Script And Spawn A Car All Car And Skin It Will Show A Gametext Police Only Any Idea
? Please
Help Me

OnPlayerSpawn
Quote:
if(GetPlayerSkin(playerid) == 280 || 281 || 282 || 283 || 284 || 285 || 286 || 288 || 300 || 301 || 302 ) { if(!AccInfo[playerid][Police]) return GameTextForPlayer(playerid,"~r~This Skin Is For~n~Police~n~Only",4000,1); } |
Quote:
new vehicleid = GetPlayerVehicleID(playerid); GetVehicleModel(vehicleid); if(GetVehicleModel(vehicleid) == 599 || 596 || 597 || 598 || 497 || 520 || 528 || 425 || 427 || 523 || 490) { if(!AccInfo[playerid][Police]) { RemovePlayerFromVehicle(playerid); GameTextForPlayer(playerid, "~r~Police Only!", 1000, 5); } } |

