[Ajuda] argument type mismatch
#8

Testado e adaptado!

PHP код:
new Float:pPosX[MAX_PLAYERS], Float:pPosY[MAX_PLAYERS], Float:pPosZ[MAX_PLAYERS];//topo do gm
public OnPlayerDisconnect(playerid)
{
    new 
pName[MAX_PLAYER_NAME], arquivo[56];
    
GetPlayerName(playeridpNamesizeof(pName));
    
format(arquivo56"Pos/%s"pName);//muda de acordo com seu diretorio
    
GetPlayerPos(playeridpPosX[playerid], pPosY[playerid], pPosZ[playerid]);//pega a posiзгo do player
    
DOF2_SetFloat(arquivo"PosX"pPosX[playerid]);
    
DOF2_SetFloat(arquivo"PosY"pPosY[playerid]);
    
DOF2_SetFloat(arquivo"PosZ"pPosZ[playerid]);
    return 
1;

Reply


Messages In This Thread
argument type mismatch - by iTouchS - 09.02.2016, 21:09
Re: argument type mismatch - by Joron - 09.02.2016, 21:11
Re: argument type mismatch - by iTouchS - 09.02.2016, 21:14
Re: argument type mismatch - by HaRdiiZin - 09.02.2016, 21:14
Re: argument type mismatch - by iTouchS - 09.02.2016, 21:18
Re: argument type mismatch - by RodrigoMSR - 09.02.2016, 21:30
Re: argument type mismatch - by iTouchS - 09.02.2016, 21:34
Re: argument type mismatch - by hlgamesbr - 09.02.2016, 21:37
Re: argument type mismatch - by HaRdiiZin - 09.02.2016, 21:39
Re: argument type mismatch - by iTouchS - 09.02.2016, 21:55

Forum Jump:


Users browsing this thread: 1 Guest(s)