11.01.2012, 23:45
Since I was receiving that CMD is undefined symbol I used cmdtext so I've cut some of the errors, but still getting some about the TMP and the other stuff.
So errors on these:
BUMP: I've added new
and got rid of the 442 error
Edit: Since you don't know about the STR maybe this should help you.
;
This is how we format in the str.
Quote:
|
C:\Users\Maki\Desktop\server 0.3d\gamemodes\TankDM.pwn(442) : error 017: undefined symbol "tmp" C:\Users\Maki\Desktop\server 0.3d\gamemodes\TankDM.pwn(444) : error 035: argument type mismatch (argument 2) C:\Users\Maki\Desktop\server 0.3d\gamemodes\TankDM.pwn(450) : error 012: invalid function call, not a valid address C:\Users\Maki\Desktop\server 0.3d\gamemodes\TankDM.pwn(450) : warning 215: expression has no effect C:\Users\Maki\Desktop\server 0.3d\gamemodes\TankDM.pwn(450) : error 001: expected token: ";", but found ")" C:\Users\Maki\Desktop\server 0.3d\gamemodes\TankDM.pwn(450) : error 029: invalid expression, assumed zero C:\Users\Maki\Desktop\server 0.3d\gamemodes\TankDM.pwn(450) : fatal error 107: too many error messages on one line |
Код:
if(!strlen(tmp)) //<- 442 SendClientMessage(playerid, cmdtext, " /teamchat [text]"); //<-444 format(str, sizeof(str), "Teamchat %s: %s", PlayerName(playerid), cmdtext[3]); //<-450
Код:
tmp[128];
Edit: Since you don't know about the STR maybe this should help you.
Код:
format(string,sizeof string,"PM Send to %s: %s",gName,inputtext)
This is how we format in the str.

