Search Results
This is the one I found.
https://sampforum.blast.hk/showthread.php?tid=491077
22
Quote:
Originally Posted by Aerotactics
pawn Код:
GetPlayerName(id, string, 21);
Since you defined variable "id," You should try to use that to get the other player's name.
How do ...
43
I personally would advise you to ****** it, as I myself learned how to script those exact commands via tutorials on this very forum. I'll link you one right now, actually.
https://sampforum.blast.hk/...
36
I'm having some troubles with this following slap command. As I perform it, it always shows up my, the "slap-pers", name, which is quite annoying. I mean, lets say I'm Subject 1 and I'm slapping Subje...
43
Lmao Konstantinos, you're just bawsing it haha! Thanks mate, it worked. REP +!
Edit: Didn't saw your comment Jake, Konstantinos script worked though. REP + to you too for helping me out.
27
I received the following errors.
pawn Код:
C:\Users\vasu\Desktop\Sa-Mp Roleplay Serv\gamemodes\Roleplay.pwn(1231) : error 012: invalid function call, not a valid addressC:\Users\vasu\Desktop\Sa-M...
27
pawn Код:
GetPlayerName(playerid, GetName, sizeof(GetName)); format(string, sizeof(string), "You have successfully slapped %s!", GetName(id));
Jake, I changed the variable into GetNameSlap a...
27
Hello, I'm getting loads of warnings as I attempt to make a slap command. Help would be highly appriciated!
pawn Код:
CMD:slap(playerid, params[]){ new id, string[128], Float: PPos[3], reaso...
27
https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange
25
I'm not the best of scripters, although I'd say do this.
pawn Код:
dcmd_car(playerid,params[]) { if(PlayerInfo[playerid][Level] >= 0) { new vehicleid = GetPlayerV...
25
Hi,
Thanks for reading this topic. I'm getting 26 errors as I compile due to the following script.
pawn Код:
public OnPlayerConnect(playerid){ INI_ParseFile(UserPath(playerid), "LoadUser_%...
35
Thanks Kar, but now I get the following warning.
pawn Код:
C:\Users\vasu\Desktop\Sa-Mp Roleplay Serv\gamemodes\Roleplay.pwn(1166) : warning 209: function "cmd_ban" should return a value
I'd real...
30
Quote:
Originally Posted by park4bmx
ok, if that is current then show how you set up PlayerInfo/SInfo
and line 50 is exactly ?
And there is wrong string tag like i said
pawn Код:
if(S...
30
What do you mean park4bmx? There was SInfo in the tutorial but I changed it to PlayerInfo because I think SInfo gave me errors or something, I'm not sure. Isn't SInfo the same as PlayerInfo? Anyhow, I...
30
Hello, I'm trying to make a ban command using a tutorial on the sa-mp forums although, somewhy, I get these following errors.
pawn Код:
C:\Users\vasu\Desktop\Sa-Mp Roleplay Serv\gamemodes\Rolepla...
30
Thanks guys, but I used my old script for kicking a player and turned it into a ban system. Ironically the ban command now works as a kick, due to the fact that the player can log in again after he's ...
21
Hey, I've scouted through the tutorial section of the forums a bit but I simply can't seem to find any tutorial regarding a ban system? Therefore I'd love it if anyone could help me out with a ban sys...
21
This might be helpful, I found it earlier today.
http://forum.sa-mp.com/showthread.ph...light=Roleplay
28
That's weird, I got the following error:
pawn Код:
C:\Users\vasu\Desktop\Sa-Mp Roleplay Serv\gamemodes\Roleplay.pwn(1343) : error 017: undefined symbol "playerid"
47
Quote:
Originally Posted by Rajat_Pawar
I assume that you don't set a player's admin level to 5 when you login into RCON.
pawn Код:
CMD:setlevel(playerid,params[]){ if(PlayerInfo...
47