/Call 112 in 60 seconds
#1

Hello everyone! I am looking for a script or timer. I found some timers but it never stops. I want to create a script for onplayerdeath. When player X kill player Y, player Y have 60 seconds to use /call 112 and automatically player X get a new wanted level...

Код:
YCMD:call(playerid, params[], help)
{
	#pragma unused help
	#pragma unused params
	if(killerid == INVALID_PLAYER_ID) 
        {
        }
	else
	{
            new killerwantedlevel;
            killerwantedlevel = GetPlayerWantedLevel(killerid);
	    killerwantedlevel ++;

	    if(killerwantedlevel >= 6)
	    {
                  SetPlayerWantedLevel(killerid, 6);
            }
	    else
	    {
                  SetPlayerWantedLevel(killerid, killerwantedlevel);
            }
         }
}
I am not sure if it's working... I am newbee in pawno. I want to create a RP server... It will use MYSql.....

For now I created my own MYSql login/register system (Email/Age/Pass/Ban/Name). I am still working on that.

I have few more questions:
1.If I set everythig to use database, it will be overloaded? I mean that database will store wantedlevel, guns, money, skin etc.... Should I save less things?

2. If is here anyone who use System32's house system include, can you explain me how to save houses to database? I use /createhouse, I set interior, virtualword etc... but it says "The house has just been created". I reeded that I have to use /rcon gmx, but in database is nothing happening and house image dissapear..... my login system works so connection exists.....

3. Should I buy a VPS or a SA:MP dedicated host with gamepanel?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)