24.06.2010, 14:56
forward CheckMissionWeapon();
public CheckMissionWeapon()
{
for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
new w,a;
GetPlayerWeaponData(i,5,w,a);
if(w != 31)
{
SendClientMessage(i, COLOR_WHITE, "You not have M4 so you can't pass this mission");
}
}
}
return 1;
}
But not work
Any Help