|
|
#2401 | |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: May 2010
Location: Black Asylum
Posts: 2,399
Reputation: 210
|
Quote:
pawn Code:
|
|
|
|
|
|
|
#2402 | |
|
Banned
![]() Join Date: Apr 2009
Location: England
Posts: 4,013
Reputation: 701
|
EDIT: Kar might have the better solution, I was writing my post still when his was posted!
Quote:
pawn Code:
I think that should be right, but I might be off-by-one on a cell, didn't think it through because I'm pretty tired! But you get the basic idea. ![]() There might be (and probably is) a better way to do this however! But that's all I can think of doing at the moment
|
|
|
|
|
|
|
#2403 |
|
Big Clucker
![]() ![]() Join Date: Mar 2011
Posts: 129
Reputation: 3
|
Never mind.
Last edited by HP; 03/07/2012 at 01:49 AM. |
|
|
|
|
|
#2404 |
|
Little Clucker
![]() Join Date: Jul 2011
Posts: 16
Reputation: 0
|
when I restart server..
server write this error: sscanf error: System not initialised. I have the latest version and I using TK admin: http://forum.sa-mp.com/showthread.php?t=269610 why? :/ |
|
|
|
|
|
#2405 |
|
Little Clucker
![]() Join Date: Jul 2012
Posts: 1
Reputation: 0
|
For all people who have problems with file msvcr100.dll
this is what to do : 1st. remove all versions of Microsoft Visual C++ Redistributable that you have on your computer from Control Panel > Add Or Remove Programs 2nd. goto C:\Windows\System32 and delete msvcr100.dll 3rd. Install Microsoft Visual C++ Redistributable 2010 4th. Enjoy and thank me
|
|
|
|
|
|
#2406 |
|
Little Clucker
![]() Join Date: Jul 2012
Posts: 2
Reputation: 0
|
goob job mate
|
|
|
|
|
|
#2407 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Apr 2011
Posts: 2,188
Reputation: 60
|
I'm using ZCMD and SSCANF:
I want when the player doesn't type the level it must be set to 3 automatically. See it: /setlevel [id] [level] > /setlevel 48 _ > so player 48 will have level 3 Who can help me ? *0* |
|
|
|
|
|
#2408 |
|
Banned
![]() Join Date: Apr 2009
Location: England
Posts: 4,013
Reputation: 701
|
@Shadoww5: I know I replied to your PM but just in case other people are looking for the answer, I'll post here too!
You simply use the "optional" feature by using an upper-case specifier: D(3) Now the player won't have to type a value and if he doesn't his input will automatically be 3 |
|
|
|
|
|
#2409 |
|
Banned
![]() Join Date: May 2012
Location: Capture Zone
Posts: 88
Reputation: 10
|
+1rep!
|
|
|
|
|
|
#2410 |
|
Banned
![]() Join Date: Sep 2011
Location: Where I m???
Posts: 166
Reputation: 9
|
GUYZ I NEED HELP!
How to fix this: Code:
[03:02:47] Error: Function not registered: 'SSCANF_Init' [03:02:47] Error: Function not registered: 'SSCANF_Join' [03:02:47] Error: Function not registered: 'SSCANF_Leave' [03:02:47] Error: Function not registered: 'sscanf' [03:02:47] Script[gamemodes/PPC_Trucking.amx]: Run time error 19: "File or function is not found" i'm using last update |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Macros (?) for enums/arrays | MP2 | Scripting Help | 16 | 17/01/2012 07:37 PM |
| Enums - string arrays | SuperViper | Scripting Help | 3 | 31/10/2011 10:00 AM |
| Arrays and enums... | [MWR]Blood | Scripting Help | 9 | 23/09/2011 11:29 AM |
| Enums and Arrays | Th3Angel | Help Archive | 6 | 14/02/2011 11:46 PM |