Quote:
Originally Posted by SAWC™
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { for(new i = 0; i < MAX_PLAYERS; i ++) { if(IsPlayerConnected(i) && IsPlayerInAnyVehicle(i) && i != playerid) { if(gTeam[i] == gTeam[playerid] && GetPlayerVehicleID(i) == vehicleid) { new Pos[3];
GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]); SetPlayerPos(playerid, Pos[0], Pos[1], Pos[2] + 10); SendClientMessage(playerid, COLOR, "Don't jack team mates!"); } } } return 1;
|
what is this? can you explain it a little? because it gives me erros not including "COLOR"