23.11.2012, 17:05
Hey just a simple question,
I'm making a command but i have a problem
How I can make this possible? That if the player skin is 111 and the player is in range of point 5, the explosion will appear?
I'm making a command but i have a problem
pawn Код:
if (strcmp("/blow", cmdtext, true, 10) == 0)
{
if(GetPlayerSkin(playerid == 111) & (IsPlayerInRangeOfPoint(playerid, 3908.1470,-2664.6038,0.8423, 5))
{
CreateExplosion(0,0,0,0,0);
}
else
{
SendClientMessage(playerid, COLOR_AQUA,"(!):{FFFFFF}You are not near a field gun");
}
return 1;
}