Nem sántít, tökéletesen ugyan az, némi mappolással fûszerezve.
Õ csak átírta saját objectekre, és teleportra.
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(\"/gotobus\", cmdtext, true, == 0)
{
if(IsPlayerAdmin(playerid))
{
SetPlayerPos(playerid, 2022.0273, 2235.2402, 2103.9536);
SetPlayerFacingAngle(playerid, 0);
SetCameraBehindPlayer(playerid);
SetPlayerInterior(playerid, 1);
}
else return 0;
return 1;
}
return 0;
}
public OnPlayerDeath(playerid, killerid, reason)
{
if(IsInBus[playerid] == 1)
{
IsInBus[playerid] = 0;
KillTimer(Timer1[playerid]);
KillTimer(Timer2[playerid]);
}
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
IsInBus[playerid] = 0;
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(\"/gotobus\", cmdtext, true, == 0)
{
if(IsPlayerAdmin(playerid))
{
SetPlayerPos(playerid, 1623.9211, -2943.2891, 9.8766);
SetPlayerFacingAngle(playerid, 0);
SetCameraBehindPlayer(playerid);
SetPlayerInterior(playerid, 1);
}
else return 0;
return 1;
}
return 0;
}
public OnPlayerDeath(playerid, killerid, reason)
{
if(IsInBus[playerid] == 1)
{
IsInBus[playerid] = 0;
}
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
IsInBus[playerid] = 0;
return 1;
}
Nem szeretem a hazudósokat. :@