01.04.2012, 02:27
Montei o cуdigo para vocк
.
Coloque
:
Espero ter ajudado
.

Coloque

pawn Код:
//No OnPlayerStateChange:
if(newstate == PLAYER_STATE_DRIVER)
{
new STR[43];
new NickName[MAX_PLAYER_NAME];
new Float:P_Pos[3];
GetPlayerName(playerid, NickName, MAX_PLAYER_NAME);
GetPlayerPos(playerid, P_Pos[0], P_Pos[1], P_Pos[2]);
format(STR, 43, "%s entrou no Veiculo.", NickName);
for(new x = 0, y = GetMaxPlayers(); x != y; x++)
{
if(!IsPlayerConnected(x)) continue;
if(IsPlayerInRangeOfPoint(x, 20.0, P_Pos[0], P_Pos[1], P_Pos[2]))
{
SendClientMessage(x, 0xFFFFFFAA, STR);
}
}
}
Espero ter ajudado
