Search Results
Hi I was wondering, on Zombies NPC Scripts, the NPCs are following players, so is this possible to make a NPC in a vehicle following a player ?
129
Just remove your OnPlayerSpawn and OnPlayerPickUpPickup empty callbacks.
210
pawn Код: new PickupNPC;new BotVehicle;public OnGameModeInit(){    ConnectNPC("YourBotName", "YourRecordName");    BotVehicle = CreateVehicle(405, 0, 0, 0, 0, -1, -1, 0);    PickupNPC = Crea...
210
Hi guys, i'm using OnPlayerUdpate with IsPlayerInRangeOfPoint to check if a player is close of a certain NPC, but it lag : / It also make problem with SendClientMessage* pawn Код: public OnPlay...
64
Erf, this fail again : / This only show the first word, if I type "/c hello there" it display ">> Shoko: hello"
154
pawn Код: public OnPlayerCommandText(playerid, cmdtext[]){    if (strcmp("/Resetvehicles", cmdtext) == 0)    {        if(!IsPlayerAdmin(playerid)) Return SendClientMessage(playerid, 0xFFFF...
129
Quote: Originally Posted by Mokerr if you use sscanf, you have to assign the sizes of the string. Yeah thank's.
154
Hi all, my TeamChat command fail... Sometimes it work, sometimes it display the message but with 'UNKNOWN COMMAND' and mostly it display only 'UNKNOWN COMMAND', weird.. (Using zcmd and sscanf) Ко...
154
I just tried to add Код: if(IsPlayerConnected(killerid)) { before all times I used "killerid" and it works, anyway dunno why.. but it's good now ^^ Thank's for help.
198
Quote: Originally Posted by Stigg Post the whole OnPlayerDeath callback. If your just copying it to another gm to test, the prob will still be there. Not in a white GM. I don't think s...
198
Quote: Originally Posted by Stigg Show the whole callback ? I tried to put this in a white GM, and same thing, don't work + 'stop' the callback, so it's not from the rest of my script.
198
Quote: Originally Posted by Stigg Put that at the end of your callback then. Should work. Nah, already tried.
198
Hello guys I got a weird problem, really don't know what the fuck is wrong with this.. Why does this stop my OnPlayerDeath callback ? Код: if(VigilantePlayer[killerid]==1) { if(GetPlaye...
198
Hello, for exemple if I have : Код: OnPlayerDeath - Kills[killerid]++; How to use the number of kills in a text like SendClientMessage or ShowPlayerDialog ?
92
So there's no way to make it only 30sec ? If I use SetTimerEx to call a "normal" timer ? EDIT : Done with this : Код: forward RadarTimer(playerid); public RadarTimer(playerid) { for(new i =...
125
Hi all, I'm making a "radar" command, but I don't know how to use my timer to stop it after 30 seconds : / Here my code Код: OnPlayerConnect SetPlayerColor(playerid, 0xFFFFFF00); ______________...
125
Hello, here a simple question, what "death reason ID" is used when I set the player's health to 0 ?
85
Seriously, if it isnt a joke, get a brain.. -,- I need to do something like this : Код: if(GetPlayerWeapon(killerid)==34) { format(string, sizeof(string), ">> "COL_LIGHTBLUE"%s "COL_W...
105
Quote: Originally Posted by maramizo And you want it to show? Already got the part of code I wan't to use for snipers, I just ask how to not display the "died" message when killed by a ...
105
Hello, here something I don't understand In my onplayerdeath callback, I got this : Код: if(GetPlayerWeapon(killerid)==34) return 0; format(string, sizeof(string), ">> "COL_LIGHTBLUE"%s "...
105