13.06.2011, 17:02
pawn Code:
new msg[MAX_PLAYERS]; // add this to the top of your code
if(IsPlayerInRangeOfPoint(playerid,40.0,-2013.1947,-61.9978,35.3203) && IsPlayerInAnyVehicle(playerid))
{ if( msg[playerid] == 0){
GetPlayerSpeed(playerid,true);
new string[128];
new pName[MAX_PLAYER_NAME];
GetPlayerName(playerid,pName,sizeof(pName));
format(string,sizeof(string),"RadarInfo:%s(%d)-speed = %d",pName,playerid,GetPlayerSpeed(playerid,true));
SendClientMessageToAll(COLOR_BLUE,string);
msg[playerid] = 1;
}
}