Basic Question Here:
#5

Quote:
Originally Posted by Tee
Посмотреть сообщение
pawn Код:
if(GetPlayerSkin(playerid) >= 280 || <= 288)return SendClientMessage(playerid,-1,"You are now a police.");// -1 is white.
Your code will be valid for all skins, as it checks if the skin is above ID 280 OR below ID 288.

Here is the corrected version:
pawn Код:
if( GetPlayerSkin( playerid ) >= 280 && GetPlayerSkin( playerid ) <= 288 )
   return SendClientMessage( playerid, 0xFF0000FF, "You are now a police officer!" );
Reply


Messages In This Thread
Basic Question Here: - by Alex_Obando - 12.06.2011, 01:56
Re: Basic Question Here: - by [L3th4l] - 12.06.2011, 02:01
Respuesta: Basic Question Here: - by Alex_Obando - 12.06.2011, 02:11
Re: Basic Question Here: - by Tee - 12.06.2011, 02:20
Re: Basic Question Here: - by Bakr - 12.06.2011, 02:35
Respuesta: Basic Question Here: - by Alex_Obando - 12.06.2011, 02:53
Re: Basic Question Here: - by Bakr - 12.06.2011, 02:58
Respuesta: Basic Question Here: - by Alex_Obando - 12.06.2011, 03:01
Re: Basic Question Here: - by Bakr - 12.06.2011, 03:07
Re: Basic Question Here: - by Tee - 12.06.2011, 03:28

Forum Jump:


Users browsing this thread: 1 Guest(s)