[ajuda] Erro com "PlayerPos"
#1

Tentei criar 1 sisteminha rapidinho, pra ter ideia de RC, mas deu fail, n sei pq

Vo mandar o FS completo!

Код:
#include <a_samp>
#define COLOR_GREEN 0x33AA33AA


new Float:X Float:Y, Float:Z;
new Float: playerPos;


public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/controlarrc", cmdtext, true, 10) == 0) 
    {
       SendClientMessage(playerid, COLOR_GREEN, "Vocк ira controlar um carro RC");
       GetPlayerPos(playerid, X, Y, Z);
       CreateVehicle(441,X, Y, Z,0.0,-1,-1,1000);
       PutPlayerInVehicle(playerid, 441, 0);
       return 1;
    }
    return 0;
}
Linhas do erros

Код:
C:\Users\User4\Desktop\futebol.pwn(5) : error 001: expected token: ";", but found "-label-"
C:\Users\User4\Desktop\futebol.pwn(14) : error 017: undefined symbol "Y"
C:\Users\User4\Desktop\futebol.pwn(15) : error 017: undefined symbol "Y"
C:\Users\User4\Desktop\futebol.pwn(20) : warning 203: symbol is never used: "playerPos"
Quem ajudar ganha REP!
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: 1 Guest(s)