Quote:
Originally Posted by mariomako
why i have this errors:
Код:
D:\Infinity DM Stunt\gamemodes\infinitygm.pwn(511) : error 035: argument type mismatch (argument 3)
D:\Infinity DM Stunt\gamemodes\infinitygm.pwn(518) : error 035: argument type mismatch (argument 3)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
on this code:
pawn Код:
if(dialogid == DIALOG_REGISTER) { if(response) { OnPlayerCommandPerformed(playerid,"/register %s", inputtext); } } if(dialogid == DIALOG_LOGIN) { if(response) { OnPlayerCommandPerformed(playerid,"/login %s", inputtext); } }
|
I need to see the declaration of the function/callback OnPlayerCommandPerformed(..) to help you with that. It seems like theres somewhere a string (or an integer) where there shouldnt be one (the last parameter, so 'inputtext' must be wrong somehow).