rBcollo Posted July 18, 2011 Report Share Posted July 18, 2011 Am adaugat slot 3 la masini personale si imi da 4 erori... Code: C:\Users\Catalin\Desktop\New folder\gamemodes\eRP.pwn(18413) : error 017: undefined symbol "x_nr" C:\Users\Catalin\Desktop\New folder\gamemodes\eRP.pwn(18455) : error 017: undefined symbol "x_nr" C:\Users\Catalin\Desktop\New folder\gamemodes\eRP.pwn(18491) : error 017: undefined symbol "x_nr" C:\Users\Catalin\Desktop\New folder\gamemodes\eRP.pwn(18533) : error 017: undefined symbol "x_nr" Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 6 Errors. Liniile fiind if(strcmp(x_nr,"lock1",true) == 0) if(strcmp(x_nr,"lock2",true) == 0) if(strcmp(x_nr,"lock3",true) == 0) if(strcmp(x_nr,"buy",true) == 0) Link to comment Share on other sites More sharing options...
Guest RockStar Posted July 18, 2011 Report Share Posted July 18, 2011 new x_nr[258];x_nr = strtok(cmdtext, idx);if(!strlen(x_nr))Chiar sub OnPlayerCommandText...public OnPlayerCommandText( playerid, cmdtext[ ] ){ new x_nr[258]; x_nr = strtok(cmdtext, idx); if(!strlen(x_nr)) // restul codului Link to comment Share on other sites More sharing options...
rBcollo Posted July 18, 2011 Author Report Share Posted July 18, 2011 if(strcmp(cmd, "/v", true) == 0 || strcmp(cmd, "/vehicle", true) == 0) // By LordMan { if(IsPlayerConnected(playerid)) { if(gPlayerLogged[playerid] == 0) { SendClientMessage(playerid, COLOR_GREY, " You need to login first ! "); return 1; } new x_nr[258]; x_nr = strtok(cmdtext, idx); if(!strlen(x_nr)) Am pus .... Link to comment Share on other sites More sharing options...
Question
rBcollo
Am adaugat slot 3 la masini personale si imi da 4 erori...
Liniile fiind
if(strcmp(x_nr,"lock1",true) == 0)
if(strcmp(x_nr,"lock2",true) == 0)
if(strcmp(x_nr,"lock3",true) == 0)
if(strcmp(x_nr,"buy",true) == 0)
Link to comment
Share on other sites
2 answers to this question
Recommended Posts