SA-MP Forums Archive
Re: Script Request Thread #3 - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Re: Script Request Thread #3 (/showthread.php?tid=90021)

Pages: 1 2 3 4 5 6 7 8 9


Re: Script Request Thread #3 - MenaceX^ - 07.11.2009

Quote:
Originally Posted by PANNA
Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
  if (PRESSED(KEY_WALK))
	{
	  if(IsPlayerInAnyVehicle(playerid))
	  {
	    new currentveh;
	    new Float:angle;
	    currentveh = GetPlayerVehicleID(playerid);
	    GetVehicleZAngle(currentveh, angle);
	    SetVehicleZAngle(currentveh, angle);
	    SendClientMessage(playerid, 0xFFFFFFFF, "Your vehicle has been flipped.");
	    return 1;
	  }
	  else
	  {
	    SendClientMessage(playerid, 0xFFFFFFFF, "You are not in any vehicle!");
	  }
	return 1;
}
C:\Users\Onno\Documents\ALLIN1\da\gamemodes\saa.pw n(403) : error 017: undefined symbol "PRESSED"
[/quote]
pawn Код:
#define PRESSED(%0) (((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))



Re: Script Request Thread #3 - W1nsToN - 07.11.2009

Hi...sorry for my bad english or if I didn't read all the topics.

I have a DM server, with Team A, and Team B.

I would like to disable the global chat [where everybody talks] and make a chat for each team. This is a kind of RPG servers, but it is not.

Can you help me with this problem ?

Thx :P ...

By the way, I wanna say "hello" to every scripter from this forum. You guys make a good job.



Re: Script Request Thread #3 - killer98p - 07.11.2009

How to have a passworded skin?and then to unlock password and spawn with this skin witch is passworded?


Re: Script Request Thread #3 - Redgie - 07.11.2009

Quote:
Originally Posted by W1nsToN
Hi...sorry for my bad english or if I didn't read all the topics.

I have a DM server, with Team A, and Team B.

I would like to disable the global chat [where everybody talks] and make a chat for each team. This is a kind of RPG servers, but it is not.

Can you help me with this problem ?

Thx :P ...

By the way, I wanna say "hello" to every scripter from this forum. You guys make a good job.
You need to code underneath the callback OnPlayerText.


Re: Script Request Thread #3 - W1nsToN - 08.11.2009

Thank you so much, Southclaw... It works


Re: Script Request Thread #3 - mehmoodali - 09.11.2009

Hello Guys,


I got a bug in my script , i mean the hospital bug becoz if someone kill you then you cant out from the hospital. please help me. btw i am not good in english.

Thanks.


Re: Script Request Thread #3 - Luka P. - 09.11.2009

Quote:
Originally Posted by [HLF
Southclaw ]
you mean when a player dies they go to nearest hospital?
He can't exit from hospital (interior).


Re: Script Request Thread #3 - kintama - 09.11.2009

Can Some one Make me a LSPD Job were only LSPD can drive the LSPD cop cars plz

if so send it to me on kintama@live.co.uk thanks


Re: Script Request Thread #3 - mehmoodali - 10.11.2009

Quote:
Originally Posted by Luka™
Quote:
Originally Posted by [HLF
Southclaw ]
you mean when a player dies they go to nearest hospital?
He can't exit from hospital (interior).
Exactly btw if someone died then he exit from the hospital.
and still in the hospital.


Re: Script Request Thread #3 - retart441 - 10.11.2009

Quote:
Originally Posted by kintama
Can Some one Make me a LSPD Job were only LSPD can drive the LSPD cop cars plz

if so send it to me on kintama@live.co.uk thanks
It's gonna be hard to incorporate in your script if you don't know what your doing.


Re: Script Request Thread #3 - kintama - 10.11.2009

Well can it be made as a FS ?


Re: Script Request Thread #3 - Camacorn - 10.11.2009

can someone make me a filterscript or tell me howto, but i want it so that whenever someone on my server talks it shows up in an Chat Bubble above there head, thank you.


Re: Script Request Thread #3 - Gangsta50 - 10.11.2009

Please someone make me an Army Convoy Mission script please please....


Re: Script Request Thread #3 - Correlli - 10.11.2009

Quote:
Originally Posted by Gangsta50
Please someone make me an Army Convoy Mission script please please....
It would be nice if you give more information about it.


Re: Script Request Thread #3 - (.Aztec); - 10.11.2009

Quote:
Originally Posted by george_cahill
can someone make me a filterscript or tell me howto, but i want it so that whenever someone on my server talks it shows up in an Chat Bubble above there head, thank you.
I already answered you in the original topic.

http://forum.sa-mp.com/index.php?top...3977#msg803977

But just incase you don't want to go back-and-forth:

pawn Код:
public OnPlayerText(playerid, text[])
{
  SetPlayerChatBubble(playerid, text, COLOR, 100.0, 10000);
  return 1;
}



Re: Script Request Thread #3 - Camacorn - 10.11.2009

idk howto set it up without it giving me errors. can someone please make me it in filterscript form?


Re: Script Request Thread #3 - (.Aztec); - 11.11.2009

Quote:
Originally Posted by Camacorn_Leek
idk howto set it up without it giving me errors. can someone please make me it in filterscript form?
.....what errors...


Re: Script Request Thread #3 - Camacorn - 12.11.2009

Quote:
Originally Posted by sizeof(Sky));
Quote:
Originally Posted by Camacorn_Leek
idk howto set it up without it giving me errors. can someone please make me it in filterscript form?
.....what errors...
Код:
C:\DOCUME~1\ADMIN~1.GEO\Desktop\COPYOF~1\GAMEMO~1\PTPM.pwn(215) : warning 219: local variable "str" shadows a variable at a preceding level
C:\DOCUME~1\ADMIN~1.GEO\Desktop\COPYOF~1\GAMEMO~1\PTPM.pwn(233) : warning 219: local variable "str" shadows a variable at a preceding level
C:\DOCUME~1\ADMIN~1.GEO\Desktop\COPYOF~1\GAMEMO~1\PTPM.pwn(248) : warning 219: local variable "str" shadows a variable at a preceding level
C:\DOCUME~1\ADMIN~1.GEO\Desktop\COPYOF~1\GAMEMO~1\PTPM.pwn(332) : warning 219: local variable "str" shadows a variable at a preceding level
C:\DOCUME~1\ADMIN~1.GEO\Desktop\COPYOF~1\GAMEMO~1\PTPM.pwn(371) : error 017: undefined symbol "COLOR"
C:\DOCUME~1\ADMIN~1.GEO\Desktop\COPYOF~1\GAMEMO~1\PTPM.pwn(375) : error 010: invalid function or declaration
C:\DOCUME~1\ADMIN~1.GEO\Desktop\COPYOF~1\GAMEMO~1\PTPM.pwn(378) : error 010: invalid function or declaration
C:\DOCUME~1\ADMIN~1.GEO\Desktop\COPYOF~1\GAMEMO~1\PTPM.pwn(380) : error 010: invalid function or declaration
C:\DOCUME~1\ADMIN~1.GEO\Desktop\COPYOF~1\GAMEMO~1\PTPM.pwn(384) : error 021: symbol already defined: "GetPlayerName"
C:\DOCUME~1\ADMIN~1.GEO\Desktop\COPYOF~1\GAMEMO~1\PTPM.pwn(386) : error 010: invalid function or declaration
C:\DOCUME~1\ADMIN~1.GEO\Desktop\COPYOF~1\GAMEMO~1\PTPM.pwn(388) : error 010: invalid function or declaration
C:\DOCUME~1\ADMIN~1.GEO\Desktop\COPYOF~1\GAMEMO~1\PTPM.pwn(390) : error 010: invalid function or declaration
C:\DOCUME~1\ADMIN~1.GEO\Desktop\COPYOF~1\GAMEMO~1\PTPM.pwn(392) : error 010: invalid function or declaration
C:\DOCUME~1\ADMIN~1.GEO\Desktop\COPYOF~1\GAMEMO~1\PTPM.pwn(399) : error 010: invalid function or declaration
C:\DOCUME~1\ADMIN~1.GEO\Desktop\COPYOF~1\GAMEMO~1\PTPM.pwn(401) : error 010: invalid function or declaration
C:\DOCUME~1\ADMIN~1.GEO\Desktop\COPYOF~1\GAMEMO~1\PTPM.pwn(403) : error 010: invalid function or declaration
C:\DOCUME~1\ADMIN~1.GEO\Desktop\COPYOF~1\GAMEMO~1\PTPM.pwn(405) : error 010: invalid function or declaration
C:\DOCUME~1\ADMIN~1.GEO\Desktop\COPYOF~1\GAMEMO~1\PTPM.pwn(412) : error 010: invalid function or declaration
C:\DOCUME~1\ADMIN~1.GEO\Desktop\COPYOF~1\GAMEMO~1\PTPM.pwn(414) : error 010: invalid function or declaration
C:\DOCUME~1\ADMIN~1.GEO\Desktop\COPYOF~1\GAMEMO~1\PTPM.pwn(416) : error 010: invalid function or declaration
C:\DOCUME~1\ADMIN~1.GEO\Desktop\COPYOF~1\GAMEMO~1\PTPM.pwn(418) : error 010: invalid function or declaration
C:\DOCUME~1\ADMIN~1.GEO\Desktop\COPYOF~1\GAMEMO~1\PTPM.pwn(425) : error 010: invalid function or declaration
C:\DOCUME~1\ADMIN~1.GEO\Desktop\COPYOF~1\GAMEMO~1\PTPM.pwn(427) : error 010: invalid function or declaration
C:\DOCUME~1\ADMIN~1.GEO\Desktop\COPYOF~1\GAMEMO~1\PTPM.pwn(430) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
C:\DOCUME~1\ADMIN~1.GEO\Desktop\COPYOF~1\GAMEMO~1\PTPM.pwn(461) : warning 219: local variable "str" shadows a variable at a preceding level
C:\DOCUME~1\ADMIN~1.GEO\Desktop\COPYOF~1\GAMEMO~1\PTPM.pwn(472) : warning 219: local variable "str" shadows a variable at a preceding level
C:\DOCUME~1\ADMIN~1.GEO\Desktop\COPYOF~1\GAMEMO~1\PTPM.pwn(533) : warning 219: local variable "pn" shadows a variable at a preceding level
C:\DOCUME~1\ADMIN~1.GEO\Desktop\COPYOF~1\GAMEMO~1\PTPM.pwn(533) : warning 219: local variable "str" shadows a variable at a preceding level
C:\DOCUME~1\ADMIN~1.GEO\Desktop\COPYOF~1\GAMEMO~1\PTPM.pwn(549) : warning 219: local variable "pn" shadows a variable at a preceding level
C:\DOCUME~1\ADMIN~1.GEO\Desktop\COPYOF~1\GAMEMO~1\PTPM.pwn(549) : warning 219: local variable "str" shadows a variable at a preceding level
C:\DOCUME~1\ADMIN~1.GEO\Desktop\COPYOF~1\GAMEMO~1\PTPM.pwn(565) : warning 219: local variable "pn" shadows a variable at a preceding level
C:\DOCUME~1\ADMIN~1.GEO\Desktop\COPYOF~1\GAMEMO~1\PTPM.pwn(565) : warning 219: local variable "str" shadows a variable at a preceding level
C:\DOCUME~1\ADMIN~1.GEO\Desktop\COPYOF~1\GAMEMO~1\PTPM.pwn(581) : warning 219: local variable "pn" shadows a variable at a preceding level
C:\DOCUME~1\ADMIN~1.GEO\Desktop\COPYOF~1\GAMEMO~1\PTPM.pwn(581) : warning 219: local variable "str" shadows a variable at a preceding level
C:\DOCUME~1\ADMIN~1.GEO\Desktop\COPYOF~1\GAMEMO~1\PTPM.pwn(597) : warning 219: local variable "pn" shadows a variable at a preceding level
C:\DOCUME~1\ADMIN~1.GEO\Desktop\COPYOF~1\GAMEMO~1\PTPM.pwn(597) : warning 219: local variable "str" shadows a variable at a preceding level
C:\DOCUME~1\ADMIN~1.GEO\Desktop\COPYOF~1\GAMEMO~1\PTPM.pwn(612) : warning 219: local variable "pn" shadows a variable at a preceding level
C:\DOCUME~1\ADMIN~1.GEO\Desktop\COPYOF~1\GAMEMO~1\PTPM.pwn(612) : warning 219: local variable "str" shadows a variable at a preceding level
C:\DOCUME~1\ADMIN~1.GEO\Desktop\COPYOF~1\GAMEMO~1\PTPM.pwn(699) : warning 219: local variable "str" shadows a variable at a preceding level
C:\DOCUME~1\ADMIN~1.GEO\Desktop\COPYOF~1\GAMEMO~1\PTPM.pwn(762) : warning 203: symbol is never used: "pn"
C:\DOCUME~1\ADMIN~1.GEO\Desktop\COPYOF~1\GAMEMO~1\PTPM.pwn(762) : warning 203: symbol is never used: "str"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


19 Errors.



Re: Re: Script Request Thread #3 - LarzI - 12.11.2009

probally a missing bracket..


Re: Script Request Thread #3 - Ironboy500 - 12.11.2009

Hello!

Can you help me to script a saving system of kills and deaths using dini?

Thanks!