10.02.2013, 19:29
hey all i have a problem i find a thread when i saw one code . it code was for Checking score and if you have example 25score you can use some skin but there is a bug . When i click on this skin its spawning me and then its showing me that this skin request to have 300 score so please help !
This is the script :
This is the script :
PHP код:
if(GetPlayerSkin(playerid) == 285 && GetPlayerScore(playerid) < 300) return SendClientMessage(playerid,COLOR_BLUE,"Trqbva da imash pone 300 score za da igraesh s tozi skin !");
if(GetPlayerSkin(playerid) == 280 && GetPlayerScore(playerid) < 50) return SendClientMessage(playerid,COLOR_BLUE,"Trqbva da imash pone 25 score za da igraesh s tozi skin !");
if(GetPlayerSkin(playerid) == 266 && GetPlayerScore(playerid) < 100) return SendClientMessage(playerid,COLOR_BLUE,"Trqbva da imash pone 50 score za da igraesh s tozi skin !");
if(GetPlayerSkin(playerid) == 272 && GetPlayerScore(playerid) < 50) return SendClientMessage(playerid,COLOR_RED,"Trqbva da imash pone 25 score za da igraesh s tozi skin !");
if(GetPlayerSkin(playerid) == 271 && GetPlayerScore(playerid) < 100) return SendClientMessage(playerid,COLOR_RED,"Trqbva da imash pone 50 score za da igraesh s tozi skin !");
if(GetPlayerSkin(playerid) == 294 && GetPlayerScore(playerid) < 300) return SendClientMessage(playerid,COLOR_RED,"Trqbva da imash pone 300 score za da igraesh s tozi skin !");