01.10.2011, 19:17
Porque nгo defines o spawn?
pawn Код:
public OnPlayerSpawn(playerid)
{
SetPlayerInterior(playerid, interior);
SetPlayerPos(playerid,x,y,z);
SetPlayerFacingAngle(playerid,angulo);
SetPlayerVirtualWorld(playerid,virtualworld);
return 1;
}
public OnPlayerCommandText(playerid,cmdtext)
{
if(strcmp(cmdtext,"/spawn",true) == 0)
{
SpawnPlayer(playerid);
return 1;
}
return 0;
}