![]() |
|
Anti Ship kill script crashes server - Printable Version +- Las Venturas Playground (https://forum.sa-mp.nl) +-- Forum: Miscellaneous (https://forum.sa-mp.nl/forum-4.html) +--- Forum: Gaming (https://forum.sa-mp.nl/forum-27.html) +--- Thread: Anti Ship kill script crashes server (/thread-9242.html) Pages:
1
2
|
Anti Ship kill script crashes server - Dimplex - 06-02-2008 Hey all, I have a question about my Anti Ship Kill script. I have made a anti ship kill script. Here is my script: Code: public OnPlayerDeath(playerid, killerid, reason)But, if i do /kill on the ship, the server crashes and gives the windows foalt, dunno how to explane in english, becoase my windows is dutch ![]() And here is my /kill script. Code: if(strcmp(cmd, "/kill", true) == 0) {I hope you guys can help me ![]() - Dimplex Re: Anti Ship kill script crashes server - Fry - 06-02-2008 Where is ShipZone[] defined? Also, I don't see a variable called "string". Why are you trying to send that to every client? Re: Anti Ship kill script crashes server - Dimplex - 06-02-2008 (06-02-2008, 08:16 PM)Fry link Wrote: Where is ShipZone[] defined?Here is my Def. to ShipZone: :7 Code: #define MAX_SHIPZONE 3![]() And, string has to be jailstring
Re: Anti Ship kill script crashes server - kikac - 07-05-2008 Guys,can i know where u put this things? thx Re: Anti Ship kill script crashes server - tomozj - 07-05-2008 Basic knowledge of the PAWN syntax would enable you to weave this into your existing gamemode. In other words: if you don't know, then learn PAWN some more and try again. Re: Anti Ship kill script crashes server - Extinction - 07-05-2008 maybe this is the problem, in your /kill command do SetPlayerHealth(playerid, 0.0); instead of only 0 Re: Anti Ship kill script crashes server - Lodewijk - 07-06-2008 (07-05-2008, 11:06 PM)Extinction link Wrote: maybe this is the problem, in your /kill command do SetPlayerHealth(playerid, 0.0); instead of only 0it usally is something stupid. Re: Anti Ship kill script crashes server - Extinction - 07-06-2008 (07-06-2008, 10:17 AM)Greyfox link Wrote: it usally is something stupid.Err,, I think u didn't made something in pawno, I had this problem too, then I changed it and now it is working so stfu Re: Anti Ship kill script crashes server - EvilGate - 07-06-2008 Chill dude, Fox is just saying that it probably isn't working due a "stupid" fault. Re: Anti Ship kill script crashes server - Lodewijk - 07-06-2008 (07-06-2008, 01:32 PM)EvilGate link Wrote: Chill dude,no, im saying the smallest thing is usally the problem :p, just like creting objects and wanting to move them but not using capital letters (example) (07-06-2008, 11:05 AM)Extinction link Wrote: Err,, I think u didn't made something in pawno, I had this problem too, then I changed it and now it is working so stfui second that. Code: if(!strcmp(cmdtext, "/NRG", true, 4)) |