yonutzz Posted July 12, 2011 Report Share Posted July 12, 2011 salut imi da urmatoarele 2erori cand compilez gm:D:\jocuri\New Folder\gamemodes\AndreasCityRP.pwn(19180) : error 017: undefined symbol "cmd"D:\jocuri\New Folder\gamemodes\AndreasCityRP.pwn(19286) : error 017: undefined symbol "cmd"D:\jocuri\New Folder\gamemodes\AndreasCityRP.pwn(59775) : warning 203: symbol is never used: "vehicleEntered"Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase2 Errors.linia 19180: if(strcmp(cmd, "/donaterhelp", true) == 0)linia 19286: if (strcmp(cmd, "/donate", true) == 0) Link to comment Share on other sites More sharing options...
heker Posted July 12, 2011 Report Share Posted July 12, 2011 adauga comenzile la OnPlayerCommandText Link to comment Share on other sites More sharing options...
dreamer Posted July 12, 2011 Report Share Posted July 12, 2011 Lapublic OnPlayerCommandText(playerid, cmdtext[])pui:new cmd[256]; http://devilgaming.ro/forum Link to comment Share on other sites More sharing options...
heker Posted July 12, 2011 Report Share Posted July 12, 2011 Lapui:saucmd = strtok(cmdtext, idx); Link to comment Share on other sites More sharing options...
yonutzz Posted July 12, 2011 Author Report Share Posted July 12, 2011 pai deja avea bagat, altcumva? :sad: Link to comment Share on other sites More sharing options...
IstuntmanI Posted July 12, 2011 Report Share Posted July 12, 2011 Baga sub OnPlayerCommandText asta:new cmd[ 128 ]; cmd = strtok( cmdtext, idx );Si sterge vehicleEntered din GM. Link to comment Share on other sites More sharing options...
Question
yonutzz
salut imi da urmatoarele 2erori cand compilez gm:
D:\jocuri\New Folder\gamemodes\AndreasCityRP.pwn(19180) : error 017: undefined symbol "cmd"
D:\jocuri\New Folder\gamemodes\AndreasCityRP.pwn(19286) : error 017: undefined symbol "cmd"
D:\jocuri\New Folder\gamemodes\AndreasCityRP.pwn(59775) : warning 203: symbol is never used: "vehicleEntered"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
linia 19180: if(strcmp(cmd, "/donaterhelp", true) == 0)
linia 19286: if (strcmp(cmd, "/donate", true) == 0)
Link to comment
Share on other sites
5 answers to this question
Recommended Posts