05.07.2009, 14:55
I think that the "params" are the reason for the crash. I've noticed that this sometimes happens on my server too. Try using "cmdtext" instead of "params". Example:
But if that doesn't work, then try this one:
pawn Код:
dcmd_skroad(playerid, cmdtext)
{
SetPlayerInterior(playerid, 0);
ResetPlayerWeapons(playerid);
SetPlayerPos(playerid,3893.8152, -1623.4252, 1442.5);
GameTextForPlayer(playerid,"SKROAD",2500,3);
SetCameraBehindPlayer(playerid);
return 1;
}
pawn Код:
dcmd_skroad(playerid, cmdtext[])
{
SetPlayerInterior(playerid, 0);
ResetPlayerWeapons(playerid);
SetPlayerPos(playerid,3893.8152, -1623.4252, 1442.5);
GameTextForPlayer(playerid,"SKROAD",2500,3);
SetCameraBehindPlayer(playerid);
return 1;
}