12.05.2013, 00:48
Quote:
pawn Code: CMD:vip(playerid, params[]) { if(Player[playerid][pVIP] < 1) return SendClientMessage(playerid, COLOR_RED, "{FFFFFF}|FAIL|{BEBEBE} Vocк nгo й um vip. Consulte nosso /forum e saiba como se tornar um."); if(isnull(params)) return SendClientMessage(playerid, COLOR_GREY, "{FFFFFF}|USO|{BEBEBE} /vip [chat]"); static i, cStr[128]; format (cStr, sizeof cStr, "%s %s: %s, cвmbio.", AccountVIP(playerid), (GetPlayerName(playerid, Nome, MAX_PLAYER_NAME), Nome), params); for ( i = GetMaxPlayers() - 1; i != -1; --i) { if (IsPlayerConnected(i) && Player[i][pVIP] != 0) SendClientMessage(i, COLOR_GREEN, cStr); } return true; } _____ |
pawn Код:
C:\Users\Gustavo\Desktop\Servidor BES\Servidor\gamemodes\PowerPixel.pwn(51879) : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.