warnings
#1

i did it

pawn Код:
if(strcmp(cmd, "/exit", true) == 0)
{
    if(PlayerToPointStripped(2, playerid,238.5380,139.0598,1003.0234))
    {
        SetPlayerPos(playerid,2795.4570,-1619.4171,10.9219)
        SetPlayerInterior(playerid, 3);
    }
    return 1;
}
and i got 3 warnings
C:\Program Files\San Andreas\сшбш\gamemodes\M-RP.pwn(26909) : warning 202: number of arguments does not match definition
C:\Program Files\San Andreas\сшбш\gamemodes\M-RP.pwn(26909) : warning 202: number of arguments does not match definition
C:\Program Files\San Andreas\сшбш\gamemodes\M-RP.pwn(26909) : warning 202: number of arguments does not match definition
What to do?
Reply
#2

warning 202: number of arguments does not match definition

This ^ means that the amount of parameters of one of your function/callback/statement isn't in order.

Check all the parameters of your functions, callbacks and statements.

succes!

PS: Hope you got me
Reply
#3

PlayerToPointStripped(Float:radi, playerid, Float:x, Float:y, Float:z, Float:curx, Float:cury, Float:curz)
pawn Код:
if(strcmp(cmd, "/exit", true) == 0)
{
    if(IsPlayerInRangeOfPoint(playerid,2,238.5380,139.0598,1003.0234))
    {
        SetPlayerPos(playerid,2795.4570,-1619.4171,10.9219)
        SetPlayerInterior(playerid, 3);
    }
    return 1;
}
Reply
#4

Quote:
Originally Posted by Dragony92
Посмотреть сообщение
PlayerToPointStripped(Float:radi, playerid, Float, Float:y, Float:z, Float:curx, Float:cury, Float:curz)
pawn Код:
if(strcmp(cmd, "/exit", true) == 0)
{
    if(IsPlayerInRangeOfPoint(playerid,2,238.5380,139.0598,1003.0234))
    {
        SetPlayerPos(playerid,2795.4570,-1619.4171,10.9219)
        SetPlayerInterior(playerid, 3);
    }
    return 1;
}
Thank you very much!
Reply
#5

Just a tip. Can't you stick into the same topic? I saw three difference topics from you about the same part of code ...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)