11.01.2015, 06:54
warning 202: number of arguments does not match definition
Line 1496
Line 1510
Script
Код:
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
Код:
ShowPlayerDialog(playerid,9,DIALOG_STYLE_MSGBOX,string,"TUTUP","");
Код:
ShowPlayerDialog(playerid,56,DIALOG_STYLE_MSGBOX,string,"TUTUP","");
Код:
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; }