warning 202: number of arguments does not match definition
#1

warning 202: number of arguments does not match definition
Код:
C:\Users\Administrator\Documents\GTA San Andreas User Files\server\gamemodes\JIHANRAMADHAN.pwn(1496) : warning 202: number of arguments does not match definition
C:\Users\Administrator\Documents\GTA San Andreas User Files\server\gamemodes\JIHANRAMADHAN.pwn(1510) : warning 202: number of arguments does not match definition
Line 1496
Код:
ShowPlayerDialog(playerid,9,DIALOG_STYLE_MSGBOX,string,"TUTUP","");
Line 1510
Код:
ShowPlayerDialog(playerid,56,DIALOG_STYLE_MSGBOX,string,"TUTUP","");
Script
Код:
CMD:afk(playerid, params[])
{
        new string[70];
        GetPlayerPos(playerid, PosX[playerid], PosY[playerid], PosZ[playerid]);
        GetPlayerFacingAngle(playerid, PosA[playerid]);
        PosI[playerid] = (GetPlayerInterior(playerid));

        SetPlayerInterior(playerid,3);
        SetPlayerPos(playerid,198.3797,160.8905,1003.0300);
        SetPlayerFacingAngle(playerid,177.0350);
        SetCameraBehindPlayer(playerid);

        TogglePlayerControllable(playerid,0);
        new away[MAX_PLAYER_NAME];
        GetPlayerName(playerid, away, MAX_PLAYER_NAME);
        format(string, sizeof(string), "%s Sedang Dalam Mode AFK ketik /backafk untuk kembali!", away);
        ShowPlayerDialog(playerid,9,DIALOG_STYLE_MSGBOX,string,"TUTUP","");
        return 1;
}
CMD:backafk(playerid, params[])
{
        SetPlayerPos(playerid, PosX[playerid], PosY[playerid], PosZ[playerid]);
        SetPlayerFacingAngle(playerid, PosA[playerid]);
        SetCameraBehindPlayer(playerid);
        SetPlayerInterior(playerid, PosI[playerid]);
        new string[70];
        TogglePlayerControllable(playerid,1);
        new back[MAX_PLAYER_NAME];
        GetPlayerName(playerid, back, MAX_PLAYER_NAME);
        format(string, sizeof(string), "%s Telah Kembali Dari Mode AFK!", back);
        ShowPlayerDialog(playerid,56,DIALOG_STYLE_MSGBOX,string,"TUTUP","");
        return 1;
 }
Reply


Messages In This Thread
warning 202: number of arguments does not match definition - by Jihanz - 11.01.2015, 06:54
Respuesta: warning 202: number of arguments does not match definition - by Thewin - 11.01.2015, 07:12
Re: warning 202: number of arguments does not match definition - by Jihanz - 11.01.2015, 07:14
Re: warning 202: number of arguments does not match definition - by AgusZ - 14.01.2015, 19:10

Forum Jump:


Users browsing this thread: 3 Guest(s)