Search Results
Well it's possible, you will have to periodically loop through all the accounts, and check if the last login time was more then 2 weeks ago.
144
Or maybe implement this with the existing team system. pawn Code: native SetTeamName(teamid, name[]);native DisplayTeamsInPlayerlist(bool:display); And since some servers don't use SetPlayerTeam (si...
6,021
Make sure you have a_samp included (and updated). That should fix the `public function lacks forward declaration` warnings. For the first warning, `local variable "to" shadows a variable at a precedi...
63
What do you mean with dynamically? Here's the example you gave, but written with strmid pawn Код: new sampletext[64] = "This is a sample text which will be splited into arrays";new arrayofstr[2][...
117
The XML file is probably the documentation file generated by the compiler, nothing bad. But about your scripts not working after some time, i don't know what is cause this. Maybe you have an applicat...
207
You have reached the object limit, because the maximum number of global objects is 400. And from what I understand, you have over 1800 objects. I would suggest using an object streamer. https://sampf...
88
I'm sorry i don't know what you mean by portal. But if you want to give player weapons, you do something like this in OnPlayerSpawn pawn Код: GivePlayerWeapon(playerid,   [WEAPON ID],   [AMMO A...
147
Well yeah, are you using the plugin version of sscanf? And next time, please use the edit button, to prevent double posting.
213
The 2nd error means, you have a string that doesn't end. Something like this pawn Код: new string[] = " This is a string value See that it doesn't contain a " at the end. And all the errors after ...
127
T0pAz is correct, and if you're going to use random more. You could add a definition at the top of your script pawn Код: #define random(%1,%2) random(%2-%1)+%1 And then you can just use pawn К...
68
As far as i know, nothing is wrong with MoveObject.
72
Euhm, you need to use SetTimerEx if you want to supply any arguments. In your original code replace pawn Код: PromotionTimerVIP[Target] = SetTimer("PromotionVIP", 5000 , false); with this: paw...
146
Well, you will need to create a new textdraw containing the IP address (5 new textdraws in your case). Or you could just create a command for admins to get the IP of the user, since most of the time, ...
66
No i'm sorry, I'm not familiar with Ubuntu. You could try updating Wine, but other then that, i've no idea what could cause this.
115
Quote: Originally Posted by SnG.Scot_MisCuDI haha thanks it made the code a lot shorter. +rep for all Thx, and good luck with whatever you're making :P
153
Quote: Originally Posted by SnG.Scot_MisCuDI Wow a lot simpler than i was doing. I used cases haha And its funny :P Let me know if it works, ok ? :P
153
Try this in OnPlayerText: pawn Код: if(GetPlayerDrunkLevel(playerid) > 1000){     for (new i=0, l = strlen(text); i < l; i++)    {        if (random(2) == 0) text[i] = toupper(text[...
153
Quote: Originally Posted by Min It doesn't work. Tested. :/ Code: Parse error: syntax error, unexpected T_STRING What type of quotes are you using to enquote the query with in your m...
151
From what I understand, what you say on IRC, you want your users ranked on the number of kills they have. The users table is `playerinfo`, the field containing the kills is `kills`, and the name of th...
151
Quote: Originally Posted by Jochemd Have you ever thought about banning his IP and unbanning him straight away? Will make him reconnect! Oh, didn't know that :P
155