Re: Script Request Thread #3

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)))
Reply

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.
Reply

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

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.
Reply

Thank you so much, Southclaw... It works
Reply

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.
Reply

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

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
Reply

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.
Reply

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.
Reply

Well can it be made as a FS ?
Reply

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.
Reply

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

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.
Reply

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;
}
Reply

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

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...
Reply

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.
Reply

probally a missing bracket..
Reply

Hello!

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

Thanks!
Reply


Forum Jump:


Users browsing this thread: 7 Guest(s)