SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 15/07/2009, 04:10 PM   #521
Ignas1337
Gangsta
 
Join Date: Jul 2007
Posts: 546
Reputation: 1
Default Re: Little coding questions - For general minor queries 5

maybe %i using format? not sure tho
Ignas1337 is offline   Reply With Quote
Old 15/07/2009, 07:37 PM   #522
yom
Gangsta
 
Join Date: Jul 2006
Posts: 988
Reputation: 6
Default Re: Little coding questions - For general minor queries 5

Quote:
Originally Posted by ZeeX
I know that epty preprocessor directive (#) converts a string passed as argument of inline function or macros to identifier, but how to make a string using identifier?! I hope i explained clearly....
No, explain better, give an example
yom is offline   Reply With Quote
Old 16/07/2009, 05:41 PM   #523
ilikepie2221
Big Clucker
 
Join Date: Mar 2009
Posts: 152
Reputation: 0
Default Re: Little coding questions - For general minor queries 5

Is there a list somewhere for all compiling errors in Pawno so then I can fix them myself without having to ask here.
ilikepie2221 is offline   Reply With Quote
Old 16/07/2009, 09:57 PM   #524
GTA967
Big Clucker
 
GTA967's Avatar
 
Join Date: Apr 2009
Posts: 98
Reputation: 0
Default Re: Little coding questions - For general minor queries 5

how can i make a player freeze/stop i am trying to make it so the player freezes when a menu shows for them and unfreeze them when they close it
__________________


GTA967 is offline   Reply With Quote
Old 17/07/2009, 12:23 PM   #525
Vince
Spam Machine
 
Vince's Avatar
 
Join Date: Sep 2007
Location: Belgium
Posts: 10,083
Reputation: 2655
Default Re: Little coding questions - For general minor queries 5

Quote:
Originally Posted by ilikepie2221
Is there a list somewhere for all compiling errors in Pawno so then I can fix them myself without having to ask here.
Read pawn-lang.pdf and scroll to page 153.

Quote:
Originally Posted by GTA967
how can i make a player freeze/stop i am trying to make it so the player freezes when a menu shows for them and unfreeze them when they close it
Use TogglePlayerControllable(playerid, 0) whenever you call ShowMenuForPlayer. Then under OnPlayerExitedMenu put TogglePlayerControllable(playerid, 1);
__________________
Vince is offline   Reply With Quote
Old 17/07/2009, 03:35 PM   #526
wikop
Little Clucker
 
Join Date: Mar 2009
Posts: 14
Reputation: 0
Default Re: Little coding questions - For general minor queries 5

Hi, i must ask one question. How can i get an effect used in some servers, mainly:

When i enter the server first time, when i registered, there is introduction. Camera goes to (for example) LVPD, Hospital, 24/7 and Casino. Client messages explain what i can do in this server. When i enter server once, there's no intro. I didn't find something like this in the forum so please, help.
wikop is offline   Reply With Quote
Old 17/07/2009, 08:12 PM   #527
Vince
Spam Machine
 
Vince's Avatar
 
Join Date: Sep 2007
Location: Belgium
Posts: 10,083
Reputation: 2655
Default Re: Little coding questions - For general minor queries 5

Search for 'Tutorial' and you should find something what you want. Godfather script has one too.
__________________
Vince is offline   Reply With Quote
Old 18/07/2009, 08:19 PM   #528
Demi
Little Clucker
 
Join Date: Jul 2009
Posts: 20
Reputation: 0
Default Re: Little coding questions - For general minor queries 5

I need a script that when you join server it will label the skins in the middle of the screen. Since i using terrorist/police i would like it if when you join server it will show that the first 4 classes are terrorists and the last 5 are cia or police
Demi is offline   Reply With Quote
Old 20/07/2009, 09:13 AM   #529
wikop
Little Clucker
 
Join Date: Mar 2009
Posts: 14
Reputation: 0
Default Re: Little coding questions - For general minor queries 5

Hi, it's me again. I need id/name of animation when Carl use swipcard in "breaking the bank at Caligula's", in this YT movie for example GTA:SA: 94 Breaking the Bank at Caligula's (1/2 - PC) in 01 m 50s. I don't know how can i find this.
wikop is offline   Reply With Quote
Old 24/07/2009, 05:04 AM   #530
RAEN
Huge Clucker
 
Join Date: Nov 2007
Posts: 308
Reputation: 4
Default Re: Little coding questions - For general minor queries 5

How to use this: rand(minnum = cellmin,maxnum = cellmax) return random(maxnum - minnum + 1) + minnum;
Plz example.
RAEN is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to make a soldier aotumaticly be general when the general dies ? AlbanianGuy Scripting Help 35 13/05/2012 04:35 PM
Minor problem Desert Help Archive 4 17/03/2010 07:24 PM
Counting with mysql queries actiwe Help Archive 2 26/02/2010 03:36 PM
SQL queries using GROUP BY Dabombber Help Archive 1 05/10/2009 08:47 PM


All times are GMT. The time now is 05:22 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.