[ajuda] Erro com "PlayerPos"
#8

Eu sou novatгo em pawn, mais tenta assim

Topo do GameMode

PHP код:
new bool:ComprouRC[MAX_PLAYERS]; 
Agora na public OnPlayerCommandText(playerid, cmdtext[])
PHP код:
if (strcmp("/controlarrc"cmdtexttrue10) == 0)
    {
       if(
ComprouRC[playerid] == false)
       {
          
SendClientMessage(playerid0xAFAFAFAA"Vocк nгo tem RC, use /ComprarRC");
          return 
true;
       }
       
SendClientMessage(playeridCOLOR_GREEN"Vocк ira controlar um carro RC");
       
GetPlayerPos(playeridXYZ);
       
CarroRC[playerid] = CreateVehicle(441,XYZ,0.0,-1,-1,1000);
       
PutPlayerInVehicle(playeridCarroRC[playerid], 0);
       return 
1;
    }
    return 
0;

Agora o /ComprarRC
PHP код:
if (strcmp("/comprarrc"cmdtexttrue10) == 0)
    {
     
ComprouRC[playerid] = true;
     
// Funзхes
     
return 1;
    } 
Se te ajudei, deкm representaзгo, dando-me reputation.
Reply


Messages In This Thread
[ajuda] Erro com "PlayerPos" - by KinX - 11.03.2012, 03:11
Re: [ajuda] Erro com "PlayerPos" - by Lucas_Alemao - 11.03.2012, 03:13
Re: [ajuda] Erro com "PlayerPos" - by KinX - 11.03.2012, 03:13
Re: [ajuda] Erro com "PlayerPos" - by KinX - 11.03.2012, 03:15
Re: [ajuda] Erro com "PlayerPos" - by KinX - 11.03.2012, 03:22
Re: [ajuda] Erro com "PlayerPos" - by Lucas_Alemao - 11.03.2012, 03:25
Re: [ajuda] Erro com "PlayerPos" - by KinX - 11.03.2012, 03:31
Re: [ajuda] Erro com "PlayerPos" - by Đeagle - 11.03.2012, 03:43
Re: [ajuda] Erro com "PlayerPos" - by KinX - 11.03.2012, 03:53
Re: [ajuda] Erro com "PlayerPos" - by KinX - 11.03.2012, 03:57

Forum Jump:


Users browsing this thread: 3 Guest(s)