14.05.2009, 13:57
Pastebin is extremely simple.. You go to pastebin.com, paste your text into that gaping white space, and scroll down.. You may wish to set the option "forever" etc, but other than that you press submit. If anything it's even easier than making a topic on these forums! Even if you don't use pastebin, put [pawn ] tags around the code at least.
@ gytisx, that teleport is very strangely coded.. unnecessary setting of variables etc.. nonsensical structure.. the brackets appear wrong..
@ gytisx, that teleport is very strangely coded.. unnecessary setting of variables etc.. nonsensical structure.. the brackets appear wrong..
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/drag3", true) == 0)
{
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
SetVehiclePos(GetPlayerVehicleID(playerid),234.1930,-1865.2618,2.8388);
SetVehicleZAngle(GetPlayerVehicleID(playerid),90.0);
}
else
{
SetPlayerPos(playerid,234.1930,-1865.2618,2.8388);
}
GameTextForPlayer(playerid,"Drago Zona!",2500,3);
return 1;
}
return 0;
}

