13.06.2011, 15:31
OK,look,I made a code like a radar system(switiching problem to other topic),and now evrything is fixed just that I don't know where I should put the code:
pawn Code:
if(IsPlayerInRangeOfPoint(playerid,40.0,-2013.1947,-61.9978,35.3203) && IsPlayerInAnyVehicle(playerid))
{
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);
}