27.06.2012, 10:34
hello i made simple tutorial system for my RP server, but i dont know how to fix errors.
ERRORS:
Код:
//========================================================= if(PlayerInfo[playerid][playertutorial] == 0 || RegistrationStep[playerid] == 1) { if(PlayerInfo[playerid][tutpart] == 0) { SetPlayerCameraPos(playerid, 1443.4468, -1667.0455, 172.4551); SetPlayerCameraLookAt(playerid, 1444.4482, -1667.0360, 169.3003); SendClientMessage(playerid, COLOR_WHITE, "What is RolePlay?"); SendClientMessage(playerid, COLOR_WHITE, "Roleplay is a way of gaming. The word already says what it means. You have to play a role"); SendClientMessage(playerid, COLOR_WHITE, "For example, you play a drug dealer,You will act like a dealer in-game. You talk like"); SendClientMessage(playerid, COLOR_WHITE, "a drug dealer you act like a drug dealer etc."); SendClientMessage(playerid, COLOR_WHITE, "Whiles you are playing a drug dealer, other people might be a police officer or boxer."); TogglePlayerControllable(playerid, 0); // SetTimerEx("playertutfinish", 30000, false, "i", playerid); PlayerInfo[playerid][tutpart] = 1; } if(PlayerInfo[playerid][tutpart] == 1) { SetPlayerCameraPos(playerid, 1516.8138, -1637.0669, 14.0503); SetPlayerCameraLookAt(playerid, 1515.8191, -1637.1910, 14.2505); SendClientMessage(playerid, COLOR_WHITE, "What is metagaming?"); SendClientMessage(playerid, COLOR_WHITE, "Metagaming is mixing IC and OOC information."); SendClientMessage(playerid, COLOR_WHITE, "First, what is IC and OOC."); SendClientMessage(playerid, COLOR_WHITE, "IC stands for In Character. So that’s the drug dealer we were talking about earlier."); SendClientMessage(playerid, COLOR_WHITE, "OOC stands for Out Of Character. That’s you, the man behind the computer basically."); SendClientMessage(playerid, COLOR_WHITE, "So mixing IC and OOC info is called metagaming. An example:"); SendClientMessage(playerid, COLOR_WHITE, ""); SendClientMessage(playerid, COLOR_WHITE, "You see a guy, with some text above his head. Jason_Mendez (31)"); SendClientMessage(playerid, COLOR_WHITE, "So, now you know you see a guy called Jason, and he has ID 31. This info is OOC, since people don’t"); SendClientMessage(playerid, COLOR_WHITE, "have their names above their head in real life."); SendClientMessage(playerid, COLOR_WHITE, "So if you talk to the man, you will say: ‘Hey man, what’s your name?’"); SendClientMessage(playerid, COLOR_WHITE, "Saying stuff like: ‘Hey Jason!’ is metagaming. You don’t know his name."); TogglePlayerControllable(playerid, 0); // SetTimerEx("playertutfinish", 25000, false, "i", playerid); PlayerInfo[playerid][tutpart] = 2; } if(PlayerInfo[playerid][tutpart] == 2) { SetPlayerCameraPos(playerid, 1241.6555, -1396.2627, 13.6066); SetPlayerCameraLookAt(playerid, 1241.2216, -1395.3585, 13.8616); SendClientMessage(playerid, COLOR_WHITE, "What is Powergaming?"); SendClientMessage(playerid, COLOR_WHITE, "Powergaming is doing unrealistic actions. Like: /me takes his superman suit and flies to the moon."); SendClientMessage(playerid, COLOR_WHITE, "This is not realistic, and considered as powergaming. Powergaming is NOT allowed."); SendClientMessage(playerid, COLOR_WHITE, "Powergaming is also forcing somebody to do something. It’s hard to explain, but some examples will do."); SendClientMessage(playerid, COLOR_WHITE, "Imagine, you are arguing with somebody. Then you decide that you are going to use a /me command."); SendClientMessage(playerid, COLOR_WHITE, ""); SendClientMessage(playerid, COLOR_WHITE, "Example: /me takes a plastic bag, pulls it over Who_Ever’s head and kills him."); SendClientMessage(playerid, COLOR_WHITE, "This is powergaming. You are forcing the player to kill himself."); SendClientMessage(playerid, COLOR_WHITE, "If the player won’t kill himself, the RolePlay is messed up."); SendClientMessage(playerid, COLOR_WHITE, "So, never force people to kill themselves."); TogglePlayerControllable(playerid, 0); // SetTimerEx("playertutfinish", 30000, false, "i", playerid); } } }
Код:
C:\Users\MaticKepa\Desktop\Real Life ENG\gamemodes\mazda.pwn(19164) : warning 213: tag mismatch C:\Users\MaticKepa\Desktop\Real Life ENG\gamemodes\mazda.pwn(19177) : warning 213: tag mismatch C:\Users\MaticKepa\Desktop\Real Life ENG\gamemodes\mazda.pwn(19195) : warning 213: tag mismatch C:\Users\MaticKepa\Desktop\Real Life ENG\gamemodes\mazda.pwn(19197) : warning 213: tag mismatch C:\Users\MaticKepa\Desktop\Real Life ENG\gamemodes\mazda.pwn(23373) : error 022: must be lvalue (non-constant) C:\Users\MaticKepa\Desktop\Real Life ENG\gamemodes\mazda.pwn(23373) : warning 215: expression has no effect Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase