Search Results
Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(response)
{
switch(dialogid)
{
case 1:// Our dialog!
{
switch(listitem...
153
Код:
if (GetPlayerScore(playerid) == 0)
{
new rand = random(3);
{
switch(rand)
{
case 0: SendClientMessage(playerid, -1, "example 1");
case 1: SendClientMessage(playerid, -1,...
153
Quote:
Originally Posted by TzAkS.
Try like this.
Код:
if(strcmp("/swoff", cmdtext, true) == 0)
{
Remove_Item(playerid, Seaweed, 1);
return 1;
}
I end up getting th...
135
https://sampforum.blast.hk/showthread.php?tid=280696
Код:
if(strcmp("/sw", cmdtext, true) == 0)
{
new Seaweed = Create_Item("Seaweed");
Add_Item(playerid, Seaweed);
return 1;
...
135
Код:
new Logs;
(64) : warning 204: symbol is assigned a value that is never used: "Logs"
Код:
public OnGameModeInit()
{
new Logs = Create_Item("Logs");
}
(850) : error 017: undefined sym...
293
Код:
forward treetutrespawn();
new obj;
Код:
public OnGameModeInit()
{
obj = CreateObject(680, -1227.4000244141, -3230.5, 1.2000000476837, 0, 0, 0);
}
Код:
public OnPlayerPickUpPickup(play...
64
https://sampwiki.blast.hk/wiki/Animations
CSAW_Hit_1 I tried to use that one from the list but got an error
(222) : error 017: undefined symbol "CSAW_Hit_1"
Код:
if(strcmp("/cut", cmdtext, tru...
74
I am not sure but ain't it
Код:
new GermanyPoints[playerid] ++;
86
I'm having trouble with a script where if a player has a barrel with them that they would lose it if they died or disconnected I am not sure how to do this can someone help me please?
Код:
publi...
67
So i'm attempting to make an rp gamemode for the first time but I have got a problem.
I don't know how to make a script where when the person leaves the server the next time they log in and spawn they...
112
Код:
(232) : error 029: invalid expression, assumed zero
(232) : error 017: undefined symbol "cmd_setwanted"
(232) : error 029: invalid expression, assumed zero
(232) : fatal error 107: too many e...
92
I can try to make it but I won't succeed can someone give me the cmd for /setwanted so you can set someones wanted level
92
Sorry I have no clue how to make it searched for it too didn't find it.
I want to make a cmd where you can set someones wanted level by /setwanted.
How can I do this?
73
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/Wanted", cmdtext, true, 10) == 0)
{
if (GetPlayerTeam(playerid) == TEAM_GANG)
{
SendClientMessage(playerid, -1, "You ar...
52
Код:
forward Timer(playerid);
public OnPlayerDeath(playerid, killerid, reason)
{
if(GetPlayerTeam(killerid) == TEAM_GANG)
{
SendClientMessage(killerid, -1, "You have killed someon...
103
Код:
public OnPlayerDeath(playerid, killerid, reason)
{
if(GetPlayerTeam(killerid) == TEAM_GANG)
{
SendClientMessage(killerid, -1, "You have killed someone you may get caught by the poli...
103
http://www.colorpicker.com/
add 0x at the beggining and FF at the end
204
Well im making an admin system using the wanted stars.
So I need 1 cmd so I know how to do the rest.
Basically I am making a cmd /heal and only people that have 1 stars or above may only be able to u...
142