C:\Users\Arthur\Desktop\New folder (2)\gamemodes\PCRP.pwn(3768) : warning 217: loose indentation C:\Users\Arthur\Desktop\New folder (2)\gamemodes\PCRP.pwn(3801) : warning 217: loose indentation C:\Users\Arthur\Desktop\New folder (2)\gamemodes\PCRP.pwn(3802) : warning 217: loose indentation C:\Users\Arthur\Desktop\New folder (2)\gamemodes\PCRP.pwn(3835) : warning 217: loose indentation C:\Users\Arthur\Desktop\New folder (2)\gamemodes\PCRP.pwn(3836) : warning 217: loose indentation C:\Users\Arthur\Desktop\New folder (2)\gamemodes\PCRP.pwn(3878) : warning 217: loose indentation C:\Users\Arthur\Desktop\New folder (2)\gamemodes\PCRP.pwn(3879) : warning 217: loose indentation C:\Users\Arthur\Desktop\New folder (2)\gamemodes\PCRP.pwn(4180) : warning 217: loose indentation C:\Users\Arthur\Desktop\New folder (2)\gamemodes\PCRP.pwn(4181) : warning 217: loose indentation C:\Users\Arthur\Desktop\New folder (2)\gamemodes\PCRP.pwn(4183) : warning 217: loose indentation C:\Users\Arthur\Desktop\New folder (2)\gamemodes\PCRP.pwn(4184) : warning 217: loose indentation C:\Users\Arthur\Desktop\New folder (2)\gamemodes\PCRP.pwn(4226) : warning 217: loose indentation C:\Users\Arthur\Desktop\New folder (2)\gamemodes\PCRP.pwn(4227) : warning 217: loose indentation C:\Users\Arthur\Desktop\New folder (2)\gamemodes\PCRP.pwn(4241) : warning 217: loose indentation C:\Users\Arthur\Desktop\New folder (2)\gamemodes\PCRP.pwn(4242) : warning 217: loose indentation C:\Users\Arthur\Desktop\New folder (2)\gamemodes\PCRP.pwn(4244) : warning 217: loose indentation C:\Users\Arthur\Desktop\New folder (2)\gamemodes\PCRP.pwn(4245) : warning 217: loose indentation C:\Users\Arthur\Desktop\New folder (2)\gamemodes\PCRP.pwn(4258) : warning 217: loose indentation C:\Users\Arthur\Desktop\New folder (2)\gamemodes\PCRP.pwn(4259) : warning 217: loose indentation C:\Users\Arthur\Desktop\New folder (2)\gamemodes\PCRP.pwn(4272) : warning 217: loose indentation C:\Users\Arthur\Desktop\New folder (2)\gamemodes\PCRP.pwn(4273) : warning 217: loose indentation C:\Users\Arthur\Desktop\New folder (2)\gamemodes\PCRP.pwn(4309) : warning 217: loose indentation C:\Users\Arthur\Desktop\New folder (2)\gamemodes\PCRP.pwn(5405) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Arthur\Desktop\New folder (2)\gamemodes\PCRP.pwn(5432) : warning 225: unreachable code C:\Users\Arthur\Desktop\New folder (2)\gamemodes\PCRP.pwn(13412) : warning 217: loose indentation C:\Users\Arthur\Desktop\New folder (2)\gamemodes\PCRP.pwn(13435) : error 017: undefined symbol "isStranged" C:\Users\Arthur\Desktop\New folder (2)\gamemodes\PCRP.pwn(13435) : warning 215: expression has no effect C:\Users\Arthur\Desktop\New folder (2)\gamemodes\PCRP.pwn(13435) : error 001: expected token: ";", but found "]" C:\Users\Arthur\Desktop\New folder (2)\gamemodes\PCRP.pwn(13435) : error 029: invalid expression, assumed zero C:\Users\Arthur\Desktop\New folder (2)\gamemodes\PCRP.pwn(13435) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
if(PlayerInfo[playerid][pLevel] == 0) //If you don't want all player use it change this line if(isStranged[playerid] == 0) //If your maks is put on { new randomID = random(200); new string[35]; isStranged[playerid] = true; GetPlayerName(playerid, string, sizeof(string)); strmid(OldUsername[playerid], string, 0, strlen(string), 64); format(string,sizeof(string), "Stranger", randomID); SetPlayerName(playerid, string); SetPlayerAttachedObject(playerid, 1, 19037, 2, 10, 4.7, 0.0, 90, 90, 0);//You can change this however you want, use sa-mp wiki for more info, right now is HockeyMask2 SendClientMessage(playerid, COLOR_WHITE, "You have put on a mask! (/mask to romove it)"); for(new i = 0; i < MAX_PLAYERS; i++) {
Did you set a variable for (isStranged[playerid] == 0) or its un-defined and you just copied this line?
|
You've to set a variable for it, Because its un-defined now
EDIT: Also you shouldn't just copy the scripts, You've to learn the basics and understand this script before copying it, You shouldn't really just COPY it and put it in your script |