19.08.2016, 05:17
PHP код:
//==========================Spawn Request Stuff=================================
public OnPlayerRequestSpawn(playerid) {
if(PlayerInfo[playerid][Level] < 1) {
if(GetPlayerSkin(playerid) == 217) { SendClientMessage(playerid,red,"You Must Be An Admin To Use This Skin"); return 0; }
if(GetPlayerSkin(playerid) == 211) { SendClientMessage(playerid,red,"You Must Be An Admin To Use This Skin"); return 0; }
}
if(GetPlayerName(playerid) == "Morand") {
if(GetPlayerSkin(playerid) == 59) {
SendClientMessage(playerid,green,"-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-");
SendClientMessage(playerid,green,"Welcome Back Boss Morand");
return SendClientMessage(playerid,green,"-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-");
}
} else return SendClientMessage(playerid,red,"You Are Not Morand To Use This Skin");
return 1;
}
Код:
D:\Data\Filbert\SA-MP Server\SATDM\gamemodes\SATDM.pwn(21869) : warning 202: number of arguments does not match definition D:\Data\Filbert\SA-MP Server\SATDM\gamemodes\SATDM.pwn(21869) : warning 202: number of arguments does not match definition D:\Data\Filbert\SA-MP Server\SATDM\gamemodes\SATDM.pwn(21869) : error 033: array must be indexed (variable "-unknown-") Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.