Search Results
Код:
new string[128], CopRaport, id, shooter[MAX_PLAYER_NAME], wantedPlayer[MAX_PLAYER_NAME], Float:health;
GetPlayerName(playerid, shooter, sizeof(shooter));
GetPlayerName(id, wantedPlayer, s...
24
try
Код:
else if(GetPlayerVirtualWorld(playerid) != DropInfo[i][dWorld]))
{
SendClientMessage(playerid, COLOR_GREY, "There's nothing close enough to grab.");
return 1;
}
24
Код:
PlayerPlaySound(playerid, soundid, Float:x, Float:y, Float:z);
you didn't put all the parameters in
PlayerPlaySound
21
seems like the trick was in the loop and global bool. it works nicely.
Thank you everyone for your effort, I appreciate it.
40
Very nice useful tips. However, the command still does not toggle.
I think this is because the server doesn't know which one is false and which one is true - when typing "radiusfreeze" it does not to...
40
Код:
CMD:radiusfreeze(playerid, params[])
{
new string[128], bool:toggle, admin[MAX_PLAYER_NAME], radi;
if( Player[playerid][pAdmin] < 1 ) return SCM(pid, ADMIN_COLOR, ADMIN_MESSAGE);
if...
40
I have this house system into a filterscript, and I get these warnings:
Код:
Untitled.pwn(100) : warning 202: number of arguments does not match definition
Untitled.pwn(187) : warning 202: number...
40
I have a vip shop in my script, which has token points.
Код:
if(dialogid == DIALOG_VIP_SHOP)
{
if(response)
{
new INI: File = INI_Open(UserPath(playerid));
INI_SetTag(File,"data...
21
Quote:
Originally Posted by Sjn
The way you have made this command is really bad. That's not how you check if a vehicle's health is equal to 1000 either. Plus, gettime() is a better replac...
54
I'm trying to make a function where if the server finds the same ip between 2 players to restrict the command /transfer, and I do not know how to start it.
it should be on the OnPlayerCommandText call...
21
I don't know what's wrong, I've tried all the methods and some other ones and the vehicleHp does not function and neither does the timer.
54
Neither of these solutions work. The timer is still not shown.
the vehicleHp == 1000 message is not shown either ...
54
I have this /vfixveh script, which works fine apart from the last timer not working.
here is the code:
Код:
CMD:vfixveh(playerid, params[])
{
new vip[MAX_PLAYER_NAME], string[128], Float:health;
...
54
I have edited it like this so far:
Код:
if(sscanf(params, "si", level))
{
SCM(pid, COLOR_WHITE, "{00E6FF}USAGE:{FFFFFF} /setadminoff [EXACT PLAYER NAME] [LEVEL]");
return 1;
}
GetPlayerNa...
20
I've been trying to make a /setadminoff command, basically setting the admin level to a player which is offline.
I have come here so far:
Код:
CMD:setadminoff(playerid, params[])
{
new target[MA...
20
Ok. Thanks for your feedback. I have fixed it.
This is irrelevant to the topic, but I'm trying to make a /setadminoff command, basically setting the admin level to a player which is offline.
I have...
23