profesiional scriptersss plzzz help me
#1

when I register with a script they ask me some questions then the player doesn't spawn just say answers posted then nothing see plzz help me






//------------------------------ Role Play TEST ------------------------------------------//
/*else if(RegistrationStep[playerid] == 4) {
new idx;
tmp = strtok(text, idx);
new text[256];
new level;
level = strval(text);
PlayerInfo[playerid][pModel] = level;
SetPlayerSkinEx(playerid,level);
SendClientMessage(playerid, COLOR_WHITE, "What is the definition of OOC & IC?");
SendClientMessage(playerid, COLOR_GRAD1, "< Type in the answer >");
RegistrationStep[playerid] == 5;
OnPlayerDataSave(playerid);
return 0;
}*/
else if(RegistrationStep[playerid] == 4) {
// if(strval(text, "", true) == 0) {
new idx;
tmp = strtok(text, idx);

//format(string, sizeof(string), "* Player:%s answered question of metagaming right or wrong?", noob);
//SendTesterMessage(COLOR_LIGHTRED, string);
strmid(PlayerInfo[playerid][pQuestion1], text, 0, strlen(text), 255);
//PlayerInfo[playerid][pQuestion1] = strval(text);
PlayerInfo[playerid][pQuestion1a] = 1;
RegistrationStep[playerid] = 6;
SendClientMessage(playerid, COLOR_LIGHTRED, "What is the definition of Metagame?");
SendClientMessage(playerid, COLOR_PS, "< Type in the answer >");
TogglePlayerControllable(playerid,0);
OnPlayerDataSave(playerid);
//TogglePlayerControllable(playerid,0);

return 0;
}
else if(RegistrationStep[playerid] == 6) {
// if(strval(text, "", true) == 0) {
new idx;
tmp = strtok(text, idx);

//format(string, sizeof(string), "* Player:%s answered question of metagaming right or wrong?", noob);
//SendTesterMessage(COLOR_LIGHTRED, string);
strmid(PlayerInfo[playerid][pQuestion2], text, 0, strlen(text), 255);
//PlayerInfo[playerid][pQuestion1] = strval(text);
PlayerInfo[playerid][pQuestion2a] = 1;
RegistrationStep[playerid] = 7;
SendClientMessage(playerid, COLOR_LIGHTRED, "What is the definition of Revenge Killing?");
SendClientMessage(playerid, COLOR_PS, "< Type in the answer >");
TogglePlayerControllable(playerid,0);
OnPlayerDataSave(playerid);
//TogglePlayerControllable(playerid,0);

return 0;
}
else if(RegistrationStep[playerid] == 7) {
// if(strval(text, "", true) == 0) {
new idx;
tmp = strtok(text, idx);

//format(string, sizeof(string), "* Player:%s answered question of metagaming right or wrong?", noob);
//SendTesterMessage(COLOR_LIGHTRED, string);
strmid(PlayerInfo[playerid][pQuestion3], text, 0, strlen(text), 255);
//PlayerInfo[playerid][pQuestion1] = strval(text);
PlayerInfo[playerid][pQuestion3a] = 1;
RegistrationStep[playerid] = 8;
SendClientMessage(playerid, COLOR_LIGHTRED, "What is the definition of Roleplay?");
SendClientMessage(playerid, COLOR_PS, "< Type in the answer >");
TogglePlayerControllable(playerid,0);
OnPlayerDataSave(playerid);
//TogglePlayerControllable(playerid,0);

return 0;
}
else if(RegistrationStep[playerid] == {
//if(strval(text, "", true) == 0) {
new idx;
tmp = strtok(text, idx);

//format(string, sizeof(string), "* Player:%s answered question of metagaming right or wrong?", noob);
//SendTesterMessage(COLOR_LIGHTRED, string);
strmid(PlayerInfo[playerid][pQuestion4], text, 0, strlen(text), 255);
//PlayerInfo[playerid][pQuestion1] = strval(text);
PlayerInfo[playerid][pQuestion4a] = 1;
RegistrationStep[playerid] = 9;
SendClientMessage(playerid, COLOR_LIGHTRED, "What is the definition of Powergame?");
SendClientMessage(playerid, COLOR_PS, "< Type in the answer >");
TogglePlayerControllable(playerid,0);
OnPlayerDataSave(playerid);
//TogglePlayerControllable(playerid,0);

return 0;
}
else if(RegistrationStep[playerid] == 9) {
// if(strval(text, "", true) == 0) {
new idx;
tmp = strtok(text, idx);

//format(string, sizeof(string), "* Player:%s answered question of metagaming right or wrong?", noob);
//SendTesterMessage(COLOR_LIGHTRED, string);
strmid(PlayerInfo[playerid][pQuestion5], text, 0, strlen(text), 255);
//PlayerInfo[playerid][pQuestion1] = strval(text);
PlayerInfo[playerid][pQuestion5a] = 1;
RegistrationStep[playerid] = 10;
SendClientMessage(playerid, COLOR_LIGHTRED, "What do you do if you get DeathMatched?");
SendClientMessage(playerid, COLOR_PS, "< Type in the answer >");
TogglePlayerControllable(playerid,0);
OnPlayerDataSave(playerid);
//TogglePlayerControllable(playerid,0);

return 0;
}
else if(RegistrationStep[playerid] == 10) {
// if(strval(text, "", true) == 0) {
new idx;
tmp = strtok(text, idx);

//format(string, sizeof(string), "* Player:%s answered question of metagaming right or wrong?", noob);
//SendTesterMessage(COLOR_LIGHTRED, string);
strmid(PlayerInfo[playerid][pQuestion6], text, 0, strlen(text), 255);
//PlayerInfo[playerid][pQuestion1] = strval(text);
PlayerInfo[playerid][pQuestion6a] = 1;
RegistrationStep[playerid] = 11;
SendClientMessage(playerid, COLOR_LIGHTRED, "You are being arrested ICly, what do you do?");
SendClientMessage(playerid, COLOR_PS, "< Type in the answer >");
TogglePlayerControllable(playerid,0);
OnPlayerDataSave(playerid);
//TogglePlayerControllable(playerid,0);

return 0;
}
else if(RegistrationStep[playerid] == 11) {
//if(strval(text, "", true) == 0) {
new idx;
tmp = strtok(text, idx);

//format(string, sizeof(string), "* Player:%s answered question of metagaming right or wrong?", noob);
//SendTesterMessage(COLOR_LIGHTRED, string);
strmid(PlayerInfo[playerid][pQuestion7], text, 0, strlen(text), 255);
//PlayerInfo[playerid][pQuestion1] = strval(text);
PlayerInfo[playerid][pQuestion7a] = 1;
RegistrationStep[playerid] = 12;
SendClientMessage(playerid, COLOR_LIGHTRED, "What do you do if you see a hacker?");
SendClientMessage(playerid, COLOR_PS, "< Type in the answer >");
TogglePlayerControllable(playerid,0);
OnPlayerDataSave(playerid);
//TogglePlayerControllable(playerid,0);

return 0;
}
else if(RegistrationStep[playerid] == 12) {
//if(strval(text, "", true) == 0) {
new idx;
tmp = strtok(text, idx);

//format(string, sizeof(string), "* Player:%s answered question of metagaming right or wrong?", noob);
//SendTesterMessage(COLOR_LIGHTRED, string);
strmid(PlayerInfo[playerid][pQuestion8], text, 0, strlen(text), 255);
//PlayerInfo[playerid][pQuestion1] = strval(text);
PlayerInfo[playerid][pQuestion8a] = 1;
RegistrationStep[playerid] = 13;
SendClientMessage(playerid, COLOR_LIGHTRED, "Are you allowed to rob a person thats level 1 or 2?");
SendClientMessage(playerid, COLOR_PS, "< Type in the answer >");
TogglePlayerControllable(playerid,0);
OnPlayerDataSave(playerid);
//TogglePlayerControllable(playerid,0);
return 0;
}
else if(RegistrationStep[playerid] == 13) {
//if(strval(text, "", true) == 0) {
new idx;
tmp = strtok(text, idx);

//format(string, sizeof(string), "* Player:%s answered question of metagaming right or wrong?", noob);
//SendTesterMessage(COLOR_LIGHTRED, string);
strmid(PlayerInfo[playerid][pQuestion9], text, 0, strlen(text), 255);
//PlayerInfo[playerid][pQuestion1] = strval(text);
PlayerInfo[playerid][pQuestion9a] = 1;
RegistrationStep[playerid] = 14;
SendClientMessage(playerid, COLOR_LIGHTRED, "Are you allowed to use /report to talk to an admin?");
SendClientMessage(playerid, COLOR_PS, "< Type in the answer >");
TogglePlayerControllable(playerid,0);
OnPlayerDataSave(playerid);
//TogglePlayerControllable(playerid,0);
return 0;
}
else if(RegistrationStep[playerid] == 14) {
//if(strval(text, "", true) == 0) {
new idx;
tmp = strtok(text, idx);

//format(string, sizeof(string), "* Player:%s answered question of metagaming right or wrong?", noob);
//SendTesterMessage(COLOR_LIGHTRED, string);
new noob[MAX_PLAYER_NAME];
// new string[128];
GetPlayerName(playerid, noob, sizeof(noob));
format(string, sizeof(string), "WARNING: Player:%s has just finished answering his questions /answers to check them all.", noob);
SendTesterMessage(COLOR_LIGHTRED, string);
SendAdminMessage(COLOR_LIGHTRED, string);
strmid(PlayerInfo[playerid][pQuestion10], text, 0, strlen(text), 255);
//PlayerInfo[playerid][pQuestion1] = strval(text);
PlayerInfo[playerid][pQuestion10a] = 1;
RegistrationStep[playerid] = 15;
SetPlayerArmourExs(playerid,0);
SendClientMessage(playerid, COLOR_LIGHTRED, "SERVER: Answers posted.");
TogglePlayerControllable(playerid,0);
OnPlayerDataSave(playerid);
//TogglePlayerControllable(playerid,0);

}
return 0;
}
Reply
#2

This is because a admin on the server needs to accept you by doing /answers then /acceptplayer

if you are the admin you will have to edit your userfile to make the script let you in
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)