27.01.2012, 15:17
Quote:
1.problem i think like this..
Код:
if(!IsPlayerInRangeOfPoint(playerid, -1955.7682, 306.0241, 41.0471 && !IsPlayerInRangeOfPoint(playerid, 2051.8413,86.1440,28.3977) && !IsPlayerInRangeOfPoint(playerid, -2141.5591,-256.7738,40.7195)) return 1; return SendClientMessage(playerid, red, "You are not at a robbery location."); return 1; else return 0; } |
1st:
pawn Код:
if( !IsPlayerInRangeOfPoint( playerid, 7.0, -1955.7682, 306.0241, 41.0471 ) && !IsPlayerInRangeOfPoint( playerid, 7.0, -2051.8413, 86.1440, 28.3977 ) && !IsPlayerInRangeOfPoint( playerid, 7.0, -2141.5591, -256.7738, 40.7195 ) )
return SendClientMessage( playerid, red, "You are not at a robbery location." );
2nd:
it's
pawn Код:
CreateDynamicCP(Float:x, Float:y, Float:z, Float:size, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 100.0);