19.12.2009, 01:09
okay, well I think I'm missing a bracket or something.
Here's the code.
I'm Fairly New to pawno so, any help is appreciated.
Код:
C:\Users\keujh\Desktop\server\gamemodes2\UnqiueRP.pwn(8506) : error 029: invalid expression, assumed zero C:\Users\keujh\Desktop\server\gamemodes2\UnqiueRP.pwn(8506) : error 004: function "introduction" is not implemented C:\Users\keujh\Desktop\server\gamemodes2\UnqiueRP.pwn(8517) : error 017: undefined symbol "playerid" C:\Users\keujh\Desktop\server\gamemodes2\UnqiueRP.pwn(8520) : error 029: invalid expression, assumed zero C:\Users\keujh\Desktop\server\gamemodes2\UnqiueRP.pwn(8520) : error 017: undefined symbol "hackingabusing" C:\Users\keujh\Desktop\server\gamemodes2\UnqiueRP.pwn(8529) : error 017: undefined symbol "playerid"
Here's the code.
Код:
public introduction(playerid)
{
SendClientMessage(i, COLOR_YELLOW2, "*********Introduction*******");
SendClientMessage(i, COLOR_GRAD1, "UniqueRP, is a roleplay server.");
SendClientMessage(i, COLOR_GRAD1, "UniqueRP was created to give you a better look at what the next generation of Roleplay will be, like.");
SendClientMessage(i, COLOR_ASKQ, "Roleplay is slowly becoming one of the most accurate game modes");
SendClientMessage(i, COLOR_LIGHTBLUE, "There is various varieties of factions to choose from");
SendClientMessage(i, COLOR_ASKQ, " Please Remember to check out the rules by typing /rules.");
SendClientMessage(i, COLOR_LIGHTBLUE, "The tutorial will proceed. ");
SendClientMessage(i, 0x00e6fbff, "Please Wait.");
// THE TIMER
SetTimerEx("hackingabusing", 10000, false, "i", playerid);
}
public hackingabusing(playerid)
{
SendClientMessage(i, COLOR_YELLOW2, "*********Hacking & Abusing*******");
SendClientMessage(i, COLOR_GRAD1, "Hacking is strictly forbidden here at UniqueRP.");
SendClientMessage(i, COLOR_GRAD1, "We have zero tolerance for it, if you get caught, you get banned.");
SendClientMessage(i, COLOR_ASKQ, "Abusing bugs is just as bad hacking.");
SendClientMessage(i, COLOR_LIGHTBLUE, "Instead of abusing bugs, just type /report and give a basic explanation of the bug, so that we can fix the bug for the future.");
SendClientMessage(i, COLOR_ASKQ, " Hacking and abusing will get you banned, permanently. ");
SetTimerEx("SOMETHINGELSE", 10000, false, "i", playerid);
}
TutTime[i] = 0; PlayerInfo[i][pTut] = 1;
gOoc[i] = 0; gNews[i] = 0; gFam[i] = 0;
GivePlayerMoney(i, 2000);
TogglePlayerControllable(i, 1);
MedicBill[i] = 0;
AfterTutorial[i] = 1;
SetTimerEx("UnsetAfterTutorial", 2500, false, "i", i);
SetTimerEx("UnsetFirstSpawn", 5000, false, "i", i);
SetPlayerInterior(i,0);
SetPlayerSpawn(i);
}
}

