[help] why i have errors
#2

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).
Reply


Messages In This Thread
[help] why i have errors - by mariomako - 21.05.2011, 10:08
Re: [help] why i have errors - by DeathOnaStick - 21.05.2011, 10:29
Re: [help] why i have errors - by mariomako - 21.05.2011, 13:33
Re: [help] why i have errors - by mariomako - 21.05.2011, 14:07
Re: [help] why i have errors - by mariomako - 21.05.2011, 15:18
Re: [help] why i have errors - by PhantomDot1 - 21.05.2011, 17:00
Re: [help] why i have errors - by mariomako - 21.05.2011, 20:29

Forum Jump:


Users browsing this thread: 2 Guest(s)