Search Results
And which is the easiest way to save the remaining jail time/jail status into a file?
95
Quote:
Originally Posted by Mr.Faqahat
Under OnPlayerSpawn(playerid)
Код:
if(AccInfo[playerid][Jailed] == 1) {
SetTimerEx("JailPlayer",3000,0,"d",playerid);
return SendClientMe...
95
Hello there, I am using the LuxAdmin system and I've been trying to figure out how I can save the player's remaining jail time OnPlayerDisconnect and then load it back in OnPlayerConnect so I can put ...
95
First of all, I know that both of the issues mentioned in the title might have been explained earlier in the SA:MP forums but while searching for hours I haven't found a satisfying answer.
1st questi...
45
Quote:
Originally Posted by Ken97
This might help
PHP код:
new togglepm[MAX_PLAYERS],ID,message[128],str[128],Nam[MAX_PLAYER_NAME],Pname[MAX_PLAYER_NAME];
public OnPlayerConnect...
152
Didn't help actually, I will find another script.
152
Quote:
Originally Posted by Jari_Johnson*
Increase the string size..
msg[75]; this needs to be higher..
I have already done it and it doesnt increase the characters much enough.If I pu...
152
I have a PM script that includes: /pm /reply /nopm(disables your pms)
When I type a message to someone like: /pm 2 Hey, whats up, I am fine, nice day, blah blah blah blah blah.
The the message is cut ...
152
Quote:
Originally Posted by emokidx111
i don't use dcmd but as far as i know
pawn Код:
dcmd(paskin,1,cmdtext);// this should bedcmd(paskin,6,cmdtext); //this
Thanks, I just realise...
115
I tried to make a command that gives you an admin skin.
pawn Код:
dcmd_paskin(playerid,params[]){ #pragma unused params if(AccInfo[playerid][Level] >= 1) { SetPl...
115
I want an anti-bot script, but I don\'t want users from same IP addresses(like brothers) to be effected by the anti-bot.
24,489
Quote:
Originally Posted by ]Rafaellos[
Basika eida ton kodika kai nomizo ksero poio ine to provlima.
Dokimase na svisis apo to:
pawn Код:
public OnPlayerDisconnect(playerid, reason)...
152
https://sampforum.blast.hk/showthread.php?tid=274514
I want the members of the groups to be saved after they rejoin the server or a restart.I want all the stats to be saved in a scriptfile.
I have s...
152
Quote:
Originally Posted by LZLo
i'm going to use it on my server& i'll add a save system for it.
Can you help me to make it saveable?
2,596
Quote:
Originally Posted by Walsh
You are never assigning the variable to an object.
Example
pawn Код:
new gate;public OnGameModeInit(){ gate = CreateObject(params here); re...
118
pawn Code:
//********************* [ Credits ] ******************************************///* Gang Script by Cameltoe Version 1.1 ...
63
Quote:
Originally Posted by Mike_Peterson
Okay, because it's a problem with moveable gates, a picture would help alot.
Oh and is the gate rotating? according to your code it doesn't, just ...
118
Quote:
Originally Posted by Mike_Peterson
And, you're making new variables for every new gate I hope? and have you checked the coords at all? They might be the wrong ones?
Yes, I create...
118
pawn Код:
new antonisparkif (strcmp("/xXx", cmdtext, true, 10) == 0){MoveObject(antonispark, 2615.85791016,2302.76464844,12.59370422, 5.00);return 1;}
This is a part of the script.I put the "new"...
118