30.05.2009, 13:45
Код:
if(strcmp(cmdtext, "/needtaxi", true) == 0) { new pname[MAX_PLAYER_NAME]; GetPlayerName(playerid, pname, sizeof (pname)); format(string, sizeof(string), " %s potrzebuje Taxi", pname); SendClientMessage(playerid, COLOR_GREEN, string); // return 1;} else if(strcmp(cmdtext, "/wtaxi", true) == 0) { new pname[MAX_PLAYER_NAME]; GetPlayerName(playerid, pname, sizeof (pname)); format(string, sizeof(string), " %s nie potrzebuje juz Taxi", pname); SendClientMessage(playerid, COLOR_GREEN, string); // return 1;} else if(strcmp(cmd, "/taxi", true) == 0) { new pname[MAX_PLAYER_NAME]; GetPlayerName(playerid, pname, sizeof (pname)); format(string, sizeof(string), " %s jest taksowkarzem. Jak chcesz go uzyc wpisz /needtaxi", pname); SendClientMessage(playerid, COLOR_GREEN, string); // return 1;}
Код:
C:\DOCUME~1\KAMIL\Pulpit\RPGTDM~1\RPG.pwn(1907) : error 017: undefined symbol "string" C:\DOCUME~1\KAMIL\Pulpit\RPGTDM~1\RPG.pwn(1907) : error 017: undefined symbol "string" C:\DOCUME~1\KAMIL\Pulpit\RPGTDM~1\RPG.pwn(1907) : error 029: invalid expression, assumed zero C:\DOCUME~1\KAMIL\Pulpit\RPGTDM~1\RPG.pwn(1907) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
Oh and btw, here is the line that might be wrong:
Код:
format(string, sizeof(string), " %s potrzebuje Taxi", pname);
Puzi