A problem in OnPlayerDisconnect
#17

Quote:
Originally Posted by Y_Less
View Post
So don't do that bit then! If the guide you read doesn't tell you WHY to do that (and more importantly when NOT to do that) I wouldn't call it a very good guide.
Well because i'm kinda start user at Pawno i decided to go trough this guide anyway now that Register system works great but i have those 2 warnings in the /Help command..

You want the whole command to see the problem?
PHP Code:
    if(!strcmp(cmdtext"/help",true))
    {
//    #pragma unused params
    
new string[1550];
    new 
PlayerName[MAX_PLAYER_NAME];
    
GetPlayerName(playerid,PlayerName,sizeof(PlayerName));
    
format(string,sizeof(string),"\t"lyellow2"Hey,%s! Welcome to the help page of Europe Deathmatch!\n\nWe have several jobs in our server:\n* Trucker \n"lblue"* Police \n"lorange"* Assistance \n"lgreen"* Driver \n",GetPlayerName(playerid));
    
strcat(string,"Trucker is the most common job in this server: Just spawn, get a truck(van), attach a trailer and type /work! \nYou'll have to deliver different loads from different points to other. \nBy doing that you are gaining money and score, which can be used for buying your own vehicle, house, and more! \n");
    
strcat(string,""lblue"To be a police man you need at least 50 score, which can be earned by doing trucking missions. \nYou'll need to catch players breaking the rules, such as not following speed limits, robbing people etc. \nYou can first use /ticket to give them a ticket, or /arrest if they got a higher wanted level! \n");
    
strcat(string,""lorange"The assistance job is easy: just spawn as an assistance man, get in your tow truck and wait for help requests! \nYou can fix any vehicle by typing /fixcar, fill it up by typing /fuelcar, or press 2 to tow a vehicle while near one! \n");
    
strcat(string,""lgreen"By being a taxi driver, you should transport players to where you they want to. \nYou can type /fare while in a taxi to set up your fare, and wait for players! \nYou get paid every 10 seconds a passanger is in your vehicle if you are on duty. \n");
    
strcat(string,"\t"lred"Other:\n\n "lred"/phelp - "lyellow"Accurate help about your job! \n/credits - see the founders of Ultimate Trucking! \n/cmds - See the list of the available commands on the server! \n/rules - See the server rules!\n\n\t\t"lred"www.-.net");
    
ShowPlayerDialog(playerid,5555,0,""lyellow"GENERAL HELP",string,"OK","");
    return 
1;
    } 
Reply


Messages In This Thread
A problem in OnPlayerDisconnect - by Firo - 17.05.2012, 07:39
Re: A problem in OnPlayerDisconnect - by iRage - 17.05.2012, 07:49
Re: A problem in OnPlayerDisconnect - by Firo - 17.05.2012, 08:14
Re: A problem in OnPlayerDisconnect - by $$Killer$$ - 17.05.2012, 08:18
Re: A problem in OnPlayerDisconnect - by Firo - 17.05.2012, 08:21
Re: A problem in OnPlayerDisconnect - by $$Killer$$ - 17.05.2012, 08:35
Re: A problem in OnPlayerDisconnect - by Firo - 17.05.2012, 08:43
Re: A problem in OnPlayerDisconnect - by Kitten - 17.05.2012, 08:46
Re: A problem in OnPlayerDisconnect - by $$inSane - 17.05.2012, 08:48
Re: A problem in OnPlayerDisconnect - by Firo - 17.05.2012, 08:48
Re: A problem in OnPlayerDisconnect - by Kitten - 17.05.2012, 08:52
Re: A problem in OnPlayerDisconnect - by $$inSane - 17.05.2012, 09:06
Re: A problem in OnPlayerDisconnect - by Firo - 17.05.2012, 09:42
Re: A problem in OnPlayerDisconnect - by Firo - 17.05.2012, 09:56
Re: A problem in OnPlayerDisconnect - by Firo - 17.05.2012, 10:58
Re: A problem in OnPlayerDisconnect - by Firo - 17.05.2012, 11:05
Re: A problem in OnPlayerDisconnect - by Firo - 17.05.2012, 11:21
Re: A problem in OnPlayerDisconnect - by Firo - 17.05.2012, 11:39
Re: A problem in OnPlayerDisconnect - by Firo - 17.05.2012, 12:08
Re: A problem in OnPlayerDisconnect - by Firo - 17.05.2012, 13:43
Re: A problem in OnPlayerDisconnect - by Firo - 17.05.2012, 17:29

Forum Jump:


Users browsing this thread: 7 Guest(s)