D:\\Program Files (x86)\\Rockstar Games\\GTA San Andreas\\szerver\\gamemodes\\SL.pwn(148) : error 017: undefined symbol \"gPlayerCPStatus\"D:\\Program Files (x86)\\Rockstar Games\\GTA San Andreas\\szerver\\gamemodes\\SL.pwn(148) : warning 215: expression has no effectD:\\Program Files (x86)\\Rockstar Games\\GTA San Andreas\\szerver\\gamemodes\\SL.pwn(148) : error 001: expected token: \";\", but found \"]\"D:\\Program Files (x86)\\Rockstar Games\\GTA San Andreas\\szerver\\gamemodes\\SL.pwn(148) : error 029: invalid expression, assumed zeroD:\\Program Files (x86)\\Rockstar Games\\GTA San Andreas\\szerver\\gamemodes\\SL.pwn(148) : fatal error 107: too many error messages on one line
public OnPlayerUpdate(playerid){ if(IsPlayerInRangeOfPoint(playerid, 10.0, 1568.5374,-1691.9299,5.8906)){ SetPlayerCheckpoint(1568.5374,-1691.9299,5.8906, 2); gPlayerCPStatus[playerid] = 1;}DisablePlayerCheckpoint(playerid); gPlayerCPStatus[playerid] = 0;return 1;
public OnPlayerEnterCheckpoint(playerid){ switch(gPlayerCPStatus[playerid]) { case 0: return 1; case 1: { if(GetPlayerScore(playerid)<200) { SetPlayerSkin(playerid,280); SetPlayerTeamFromClass(playerid, classid); { if(GetPlayerSkin(playerid)==280) { gTeam[playerid] = TEAM_POLICE; } } } SendClientMessage(playerid, RED, \"Nics meg a kellõ pontod, Szükséges: 200\");}}return 1;}
new gPlayerCPStatus[MAX_PLAYERS];
gPlayerCPStatus[playerid] = 0;
#include a_sampnew gPlayerCPStatus[MAX_PLAYERS];public OnPlayerUpdate(playerid){ if(IsPlayerInRangeOfPoint(playerid, 10.0, 1568.5374,-1691.9299,5.8906)){ SetPlayerCheckpoint(1568.5374,-1691.9299,5.8906, 4.0); gPlayerCPStatus[playerid] = 1;}DisablePlayerCheckpoint(playerid); gPlayerCPStatus[playerid] = 0;return 1;}public OnPlayerEnterCheckpoint(playerid){ switch(gPlayerCPStatus[playerid]) { case 0: return 1; case 1: { if(GetPlayerScore(playerid)<200) { SetPlayerSkin(playerid,280); { if(GetPlayerSkin(playerid)==280) { gTeam[playerid] = TEAM_POLICE; } } } SendClientMessage(playerid, -1, \"Nics meg a kellõ pontod, Szükséges: 200\");}}return 1;}public OnPlayerConnect(playerid){gPlayerCPStatus[playerid] = 0;return 1;}
public OnPlayerUpdate(playerid){ if(IsPlayerInRangeOfPoint(playerid, 10.0, 1568.5374,-1691.9299,5.8906)){ SetPlayerCheckpoint(1568.5374,-1691.9299,5.8906, 4.0); gPlayerCPStatus[playerid] = 1;}DisablePlayerCheckpoint(playerid); gPlayerCPStatus[playerid] = 0;return 1;}
azt raktam be, de mit változtattál a színen kívül???
if(dini_Exists(PlayerInfo)){ShowPlayerDialog(playerid, 5, DIALOG_STYLE_INPUT,\"Login\",\"A fiókod regisztrálva van adj meg a jelszavad!\",\"Login\",\"Kilép\");}else{ShowPlayerDialog(playerid, 4, DIALOG_STYLE_INPUT,\"Regisztráció\",\"A fiókód nincs regisztrálva, kérlek adj meg egy jelszót\",\"Regist\",\"Kilép\");}gPlayerCPStatus[playerid] = 0;return 1;}public OnPlayerDisconnect(playerid, reason)