13.11.2013, 16:37
Well I was trying and I can't figure out, how can I make if player is masked it will hide his name when he will change interior..Here is /enter command
pawn Код:
if(strcmp("/enter", cmd, true) == 0) // enter property
{
if( lastPickup[playerid] != -1 || properties[lastPickup[playerid]][eType] > 0 ){
new
id = propPickups[lastPickup[playerid]],
Float:x,
Float:y,
Float:z;
GetPropertyEntrance( id, x, y, z );
if( IsPlayerInRangeOfPoint( playerid, 3.0, x, y, z )){
PutPlayerInProperty( playerid, id );
SendClientMessage( playerid, 0xFFFFFFFF, "INFO:You have entered a property.. type /exit to leave" );
return 1;
}
}
return 1;
}