C:\Other Stuff\My SAMP Server\gamemodes\vx-rp.pwn(5945) : error 017: undefined symbol "cmd_mobile"
C:\Other Stuff\My SAMP Server\gamemodes\vx-rp.pwn(7108) : error 017: undefined symbol "showHelp"
C:\Other Stuff\My SAMP Server\gamemodes\vx-rp.pwn(11951) : error 029: invalid expression, assumed zero
C:\Other Stuff\My SAMP Server\gamemodes\vx-rp.pwn(11951 -- 11952) : warning 215: expression has no effect
C:\Other Stuff\My SAMP Server\gamemodes\vx-rp.pwn(11952) : error 001: expected token: ";", but found "if"
C:\Other Stuff\My SAMP Server\gamemodes\vx-rp.pwn(11956) : warning 217: loose indentation
C:\Other Stuff\My SAMP Server\gamemodes\vx-rp.pwn(11961) : warning 217: loose indentation
C:\Other Stuff\My SAMP Server\gamemodes\vx-rp.pwn(11962) : warning 225: unreachable code
C:\Other Stuff\My SAMP Server\gamemodes\vx-rp.pwn(11962) : warning 217: loose indentation
C:\Other Stuff\My SAMP Server\gamemodes\vx-rp.pwn(11965) : warning 225: unreachable code
C:\Other Stuff\My SAMP Server\gamemodes\vx-rp.pwn(11965) : error 029: invalid expression, assumed zero
C:\Other Stuff\My SAMP Server\gamemodes\vx-rp.pwn(11969) : warning 217: loose indentation
C:\Other Stuff\My SAMP Server\gamemodes\vx-rp.pwn(11972) : warning 225: unreachable code
C:\Other Stuff\My SAMP Server\gamemodes\vx-rp.pwn(11972) : warning 217: loose indentation
C:\Other Stuff\My SAMP Server\gamemodes\vx-rp.pwn(11972) : error 029: invalid expression, assumed zero
C:\Other Stuff\My SAMP Server\gamemodes\vx-rp.pwn(11972) : error 017: undefined symbol "cmd_aduty"
C:\Other Stuff\My SAMP Server\gamemodes\vx-rp.pwn(11972) : error 029: invalid expression, assumed zero
C:\Other Stuff\My SAMP Server\gamemodes\vx-rp.pwn(11972) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
9 Errors.
CMD:mask(playerid, params[]) {
if(playerVariables[playerid][pGroup] !=7))
if(isMasked[playerid] == 0)
{
new randomID = random(200);
new string[35];
GetPlayerName(playerid, string, sizeof(string));
strmid(OldUsername[playerid], string, 0, strlen(string), 64);
format(string,sizeof(string), "Masked_%d", randomID);
SetPlayerName(playerid, string);
SendClientMessage(playerid, COLOR_GREY, "You have put on a mask! (/mask to disable)");
return 1;
{
return SendClientMessage(playerid, COLOR_GREY, "You do now have the right privillages to use this command.");
}
else {
SetPlayerName(playerid, OldUsername[playerid]);
isMasked[playerid] = 1;
SendClientMessage(playerid, COLOR_GREY, "You have taken off your mask!");
return 1;
}
CMD:mask(playerid, params[]) {
if(playerVariables[playerid][pGroup] != 7) {
if(isMasked[playerid] == 0) {
new randomID = random(200);
new string[35];
GetPlayerName(playerid, string, sizeof(string));
strmid(OldUsername[playerid], string, 0, strlen(string), 64);
format(string,sizeof(string), "Masked_%d", randomID);
SetPlayerName(playerid, string);
return SendClientMessage(playerid, COLOR_GREY, "You have put on a mask! (/mask to disable)");
}
else return SendClientMessage(playerid, COLOR_GREY, "You do now have the right privillages to use this command.");
}
else
{
SetPlayerName(playerid, OldUsername[playerid]);
isMasked[playerid] = 1;
SendClientMessage(playerid, COLOR_GREY, "You have taken off your mask!");
return true;
}
return true;
}
if(playerVariables[playerid][pGroup] !=7))
if(playerVariables[playerid][pGroup] !=7)
new string[35];
C:\Other Stuff\My SAMP Server\gamemodes\vx-rp.pwn(11962) : warning 202: number of arguments does not match definition C:\Other Stuff\My SAMP Server\gamemodes\vx-rp.pwn(11975) : warning 225: unreachable code Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Warnings.
GetPlayerName(playerid, string); // 11962
return 1;
CMD:mask(playerid, params[]) {
if(playerVariables[playerid][pGroup] != 7) {
if(isMasked[playerid] == 0) {
new randomID = random(200);
new string[35];
GetPlayerName(playerid, string, sizeof(string));
strmid(OldUsername[playerid], string, 0, strlen(string), 64);
format(string,sizeof(string), "Masked_%d", randomID);
SetPlayerName(playerid, string);
SendClientMessage(playerid, COLOR_GREY, "You have put on a mask! (/mask to disable)");
}
else return SendClientMessage(playerid, COLOR_GREY, "You do now have the right privillages to use this command.");
}
else
{
SetPlayerName(playerid, OldUsername[playerid]);
isMasked[playerid] = 1;
SendClientMessage(playerid, COLOR_GREY, "You have taken off your mask!");
}
return true;
}
This forum requires that you wait 120 seconds between posts. Please try again in 71 seconds. |
GetPlayerName(playerid, string, sizeof(string));