22.10.2014, 03:34
pawn Код:
CMD:event1(playerid, params[]) // SPEED-RACER (rules who got first place win!!!)
{
if(IsPlayerAdmin(playerid))
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid), -1397.782470, -203.723114, 1051.346801);
SetVehicleZAngle(GetPlayerVehicleID(playerid), 93.569358);
LinkVehicleToInterior(GetPlayerVehicleID(playerid), 7);
SetPlayerPos(playerid, -1397.782470, -203.723114, 1051.346801);
SetPlayerFacingAngle(playerid, 93.569358);
SetPlayerInterior(playerid, 7);
SendClientMessage(playerid, COLOR_RED, "!!Teleported!!");
}
}
else SendClientMessage(playerid,-1,"Only Rcon admins");
return 1;
}
Question Why
![Huh?](images/smilies/confused.gif)