Forum: Scripting Help
05/08/2017, 07:37 PM
|
Replies: 8
Views: 444
|
Forum: Scripting Help
12/06/2017, 11:40 AM
|
Replies: 8
Views: 235
|
Forum: Scripting Help
10/06/2017, 03:07 PM
|
Replies: 4
Views: 150
Re: Help in Durby DeathMatch Vehicles [+rep]
You want the player to spawn back into the derby after dying? You could;
public OnPlayerSpawn(playerid)
{
if(VDMS[playerid] == 1)
{
CallRemoteFunction("OnPlayerCommandText","is",...
|
Forum: Scripting Help
10/06/2017, 02:47 PM
|
Replies: 4
Views: 150
Re: Help in Durby DeathMatch Vehicles [+rep]
This should work, I guess.
forward DestoryVeh(playerid);
public DestoryVeh(playerid)
{
DestroyVehicle(GetPlayerVehicleID(playerid));
return 1;
}
public OnPlayerStateChange(...
|
Forum: Scripting Help
10/06/2017, 04:31 AM
|
Replies: 8
Views: 444
|
Forum: Scripting Help
09/06/2017, 12:22 PM
|
Replies: 8
Views: 293
Re: anyone able to help me with a command
not tested
CMD:backup(playerid, params[])
{
if(IsACop(playerid) || PlayerInfo[playerid][pFaction] == 3 && PlayerInfo[playerid][pDivision] == 2 || PlayerInfo[playerid][pFaction] == 3 &&...
|
Forum: Scripting Help
09/06/2017, 09:38 AM
|
Replies: 3
Views: 208
Re: Chat Animation
You have set the anim to loop, so it won't end. http://wiki.sa-mp.com/wiki/ApplyAnimation
If you want to stop an animnation without creating a command you can;
#define PRESSED(%0) \
(((newkeys...
|
Forum: Scripting Help
09/06/2017, 08:49 AM
|
Replies: 8
Views: 444
|
Forum: Scripting Help
09/06/2017, 06:42 AM
|
Replies: 8
Views: 444
|
Forum: Scripting Help
09/06/2017, 03:18 AM
|
Replies: 8
Views: 444
|
Forum: Scripting Help
09/06/2017, 12:56 AM
|
Replies: 5
Views: 211
Re: Jump system help
I think he wants to disable/revamp damage taken from falling (anti-fall damage).
You can use; http://wiki.sa-mp.com/wiki/OnPlayerTakeDamage for that I guess.
|
Forum: Scripting Help
09/06/2017, 12:32 AM
|
Replies: 4
Views: 192
Re: what anim?
It looks more like the riot_angry animnation to me;
ApplyPlayerAnimation(playerid,"RIOT","RIOT_ANGRY",4.0,0,0,0,0,0);
Image riot_angry; http://i.imgur.com/DLBqvl6.png
|
Forum: Scripting Help
08/06/2017, 10:14 PM
|
Replies: 8
Views: 444
|
Forum: Scripting Help
20/03/2017, 03:54 AM
|
Replies: 4
Views: 160
Re: Team vehicles help
Alright, thank you. I'm still having trouble with the script though because there are more than one vehicle per team. I tried this, I had no errors, yet the script still doesn't work :/
You are...
|
Forum: Scripting Help
20/03/2017, 01:59 AM
|
Replies: 4
Views: 160
Re: Team vehicles help
Update;
Okay, I found the error but I am still not sure how to fix it.
If I join "GANG_US" I cannot enter the last vehicle (I removed most vehicles so the above wasn't cluttered) added to...
|
Forum: Scripting Help
20/03/2017, 01:39 AM
|
Replies: 4
Views: 160
Team vehicles help
http://forum.sa-mp.com/showthread.php?t=160810
I tried this, added it to my gamemode and compiled without any errors. However when I tried to test the script ingame, it simply didn't work. I tried...
|
Forum: Scripting Help
18/03/2017, 02:30 PM
|
Replies: 9
Views: 251
|
Forum: Scripting Help
18/03/2017, 01:47 PM
|
Replies: 9
Views: 251
|
Forum: Scripting Help
18/03/2017, 04:44 AM
|
Replies: 9
Views: 251
Help with command
How can I fix this? look at screenshot for detail on the problem.
CMD:g2(playerid, params[])
{
new string[256], text[100];
if(sscanf(params, "s[100]", text)) return...
|
Forum: Scripting Help
17/03/2017, 02:49 AM
|
Replies: 0
Views: 119
Cmd to place multiple objs in the same position
I'm creating a map and wanted to add czech hedgehogs, and a lot of them, but it's painful to create since one consists of 3 objects; which means positioning and angling 3 objects just to create one....
|
Forum: Scripting Help
29/05/2016, 01:10 AM
|
Replies: 1
Views: 196
multi parameters?
I need 2 commands that will have multi parameters(?) but I am lost and don't know where to start :?
First command would be an animation command. Instead of having two different commands, I'd...
|
Forum: Everything and Nothing
12/11/2015, 07:47 AM
|
Replies: 60
Views: 3,377
|
Forum: Scripting Help
19/05/2015, 10:15 AM
|
Replies: 1
Views: 299
2 cmds with reason/text = "ÿ"
CCMD:ask(playerid, params[])
{
new msg[100]; new string[200];
if(sscanf(params, "us[100]", msg))return SendClientMessage(playerid, COLOR_GREY, "{6a696a}[cmd]: /ask {9c9a9c}<questions>");
...
|
Forum: Scripting Help
19/05/2015, 04:09 AM
|
Replies: 15
Views: 953
|
Forum: Scripting Help
19/05/2015, 03:10 AM
|
Replies: 15
Views: 953
Re: Admin Commands [Adminlevel]
Nevermind, it was a mix up between gamemodes. I made a extra copy to fix the login bug and forgot I was loading it on rcon.
it works, thanks Threshold.
xx
|