28.03.2010, 18:56
![cheesy](images/smilies/lol.gif)
Код:
new Pos[3];
Код:
new Float:Pos[3];
Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { if(gTeam[playerid] == TEAM_MEDIC && vehicleid == /*Put one of the cop cars vehicle ID's here*/) { new Float:Pos[3]; GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]); SetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]); SendClientMessage(playerid, COLOR, "This is a police team vehicle!!"); } return 1; }