[Ajuda] Erro /irpos e /savarpos
#1

PHP код:
new Float:xFloat:yFloat:z;
CMD:savepos(playerid)
{   
    if(
Player[playerid][Vip] < 3) return SendClientMessage(playeridBranco"Vocк nгo й Vip ou nгo tem level suficiente!");
    
SendClientMessage(playeridVERDE_AGUA"Posiзгo salva com sucesso!");
    
DOF2_SetInt(Contas(playerid), "Pos"GetPlayerPos(playeridxz));
    return 
1;
}
CMD:irpos(playerid)
{  
    if(
Player[playerid][Vip] < 3) return SendClientMessage(playeridBranco"Vocк nгo й Vip ou nгo tem level suficiente!");
    
SendClientMessage(playeridVERDE_AGUA"Vocк foi atй a posiзгo salva!");
    new 
arquivo[40], name[MAX_PLAYER_NAME]; 
    
GetPlayerName(playeridname32); 
    
format(arquivo40"VIPS/%s.ini"name); 
    
SetPlayerPos(playeridxyDOF2_GetInt(arquivo"Pos"));//nessa linha
    
return 1;
}
stock Contas(playerid)
{
    new 
arquivo[40], name[MAX_PLAYER_NAME];
    
GetPlayerName(playeridname32);
    
format(arquivo40"VIPS/%s.ini"name);
    return 
arquivo;

Fica Dando >> Warning: warning 202: number of arguments does not match definition
Reply


Messages In This Thread
Erro /irpos e /savarpos - by Jonas_Alves - 03.09.2012, 19:31
Re: Erro /irpos e /savarpos - by Douglas_prt - 03.09.2012, 19:33
Re: Erro /irpos e /savarpos - by Coreia - 03.09.2012, 19:33
Re: Erro /irpos e /savarpos - by Jonas_Alves - 03.09.2012, 19:42
Re: Erro /irpos e /savarpos - by Coreia - 03.09.2012, 21:06
Re: Erro /irpos e /savarpos - by Douglas_prt - 03.09.2012, 21:17
Re: Erro /irpos e /savarpos - by Don_Speed - 03.09.2012, 21:31
Re: Erro /irpos e /savarpos - by humildadeforever - 03.09.2012, 21:39
Re: Erro /irpos e /savarpos - by Maklister - 03.09.2012, 21:57

Forum Jump:


Users browsing this thread: 2 Guest(s)