[Ajuda] erros na jm -- <off>(telclado quebrado)
#2

Tenta ai
PHP код:
public OnPlayerSpawn(playerid
{
  new 
pName[MAX_PLAYER_NAME], File[56]; 
  
GetPlayerName(playeridpNamesizeof(pName)); 
  
format(Filesizeof(File), "Posiзхes/%s.txt"pName);
  if(
DOF2_FileExists(File) && SpawnarInPos[playerid] == 1
  {
    
pPosX[playerid] = DOF2_GetFloat(File"PosX"); 
    
pPosY[playerid] = DOF2_GetFloat(File"PosY"); 
    
pPosZ[playerid] = DOF2_GetFloat(File"PosZ"); 
    
pPosA[playerid] = DOF2_GetFloat(File"PosA"); 
    
DOF2_GetInt(File"Interior"); 
    
SetPlayerPos(playeridpPosX[playerid],  pPosY[playerid], pPosZ[playerid]);
    
SetPlayerInterior(playeridpInterior[playerid]); 
    
SetPlayerFacingAngle(playeridpPosA[playerid]);
    
SetCameraBehindPlayer(playerid); 
    
SendClientMessage(playerid, -1"Vocк foi teleportado para o local onde estava antes de sair do jogo pela ъltima vez."); 
    
SpawnarInPos[playerid] = 0
  }
  return 
1

Reply


Messages In This Thread
varios erros na minha gm - by DKDarkking - 30.05.2015, 21:49
Re: erros na jm -- <off>(telclado quebrado) - by _Play_ - 30.05.2015, 22:59

Forum Jump:


Users browsing this thread: 2 Guest(s)