SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 81
Search took 0.00 seconds.
Search: Posts Made By: !Phoenix!
Forum: Help Archive 20/02/2011, 03:49 PM
Replies: 1
Views: 830
Posted By !Phoenix!
AW: MySQL Error

Add something like

print("check 1");
<MySQL-Command>
print("check 2");
...

to detect the source of the error.
If you can't fix it yourself post the code-segment where it occurs. :)
Forum: Help Archive 20/02/2011, 03:29 PM
Replies: 4
Views: 803
Posted By !Phoenix!
AW: Spawn on login

@rjj: Btw: Please label your changes next time so that we don't have to use a program to detect them all. :)
(Did so - return 1 is correct, but the other two additions should be unnecessary)
Forum: Help Archive 20/02/2011, 02:47 PM
Replies: 4
Views: 803
Posted By !Phoenix!
AW: Spawn on login

Anything else used before than

public OnGameModeInit()
{
AddPlayerClass();
}

public OnPlayerRequestClass(playerid, classid)
{
SetPlayerCameraPos(); ()
Forum: Help Archive 20/02/2011, 10:03 AM
Replies: 6
Views: 1,407
Posted By !Phoenix!
AW: Efficiency of timers

Thanks but now I'm not really smarter.
WHY? :)

(So only one user-unspecific timer for a speedometer?)
Forum: Help Archive 20/02/2011, 09:56 AM
Replies: 6
Views: 1,407
Posted By !Phoenix!
AW: Efficiency of timers

Ok, thanks a lot, iggy1 :)

(If anyone knows exactly how it works I would be still interested :))
Forum: Help Archive 20/02/2011, 09:32 AM
Replies: 6
Views: 1,407
Posted By !Phoenix!
AW: Efficiency of timers

Do timers anyway need computing power while they are not running? (Something like the server checks every second if a task has to be executed either way)
Forum: Server Support 20/02/2011, 09:14 AM
Replies: 4
Views: 1,413
Posted By !Phoenix!
AW: Could This Support 100 Players?

1.76 Terrabyte? Per Second?? (Per Year?) :D
Forum: Help Archive 20/02/2011, 09:11 AM
Replies: 6
Views: 1,407
Posted By !Phoenix!
Efficiency of timers

Hey all,
While writing a script it's important for me to make it as efficient as I can do it.
So I taught about what would be better:
For example(!), I have a timer which repeats every second and...
Forum: Help Archive 19/02/2011, 03:48 PM
Replies: 28
Views: 1,797
Posted By !Phoenix!
AW: Set a variable to what they ask

Which line?
SendClientMessage I assume? (Only possible line here)

But why do you send a message to a vehicle? :D


//------------
Edit:
Check http://wiki.sa-mp.com/wiki/Strcmp
(Please...
Forum: Help Archive 19/02/2011, 12:33 PM
Replies: 6
Views: 852
Posted By !Phoenix!
AW: Can me anybody help

ShowPlayerMarkers (http://wiki.sa-mp.com/wiki/ShowPlayerMarkers)?
:P
Forum: Help Archive 19/02/2011, 12:07 PM
Replies: 6
Views: 852
Posted By !Phoenix!
AW: Can me anybody help

Np - English isn't the first language for a lot of the users here but it's enough to communicate.
I'm sure I make a lot of mistakes, too.
The only thing that sucks is when some guys absolutely...
Forum: Help Archive 19/02/2011, 11:55 AM
Replies: 6
Views: 852
Posted By !Phoenix!
AW: Can me anybody help

DisableInteriorEnterExits (http://wiki.sa-mp.com/wiki/DisableInteriorEnterExits)?

:)
Forum: Tutorials 19/02/2011, 10:36 AM
Replies: 466
Views: 207,700
Posted By !Phoenix!
AW: PAWN for SA-MP in Notepad++

@Slice: You see what I mean? ; D ("mean" - what a pun oO :D)

Mean you have to save the script before compiling; the compiler simply opens the saved file.
If you want it to save automatically...
Forum: Tutorials 19/02/2011, 10:29 AM
Replies: 466
Views: 207,700
Posted By !Phoenix!
AW: PAWN for SA-MP in Notepad++

Thanks, Slice, It works! :)
But what do you mean with highlighting issues? The Colors for the brackets are defined in the "Folder and Default" Tab as well.
Forum: Tutorials 19/02/2011, 10:23 AM
Replies: 466
Views: 207,700
Posted By !Phoenix!
AW: PAWN for SA-MP in Notepad++

Meanwhile I've had accepted that I have to use my portable edition.
But there is a little problem with it, too:
The Folder Open/Close Keywords don't work. When I change them from "{ }" to something...
Forum: Help Archive 19/02/2011, 09:17 AM
Replies: 8
Views: 1,038
Posted By !Phoenix!
AW: Help on OnPlayerSpawn, setting position

If there are no classes defined you will always spawn at "point zero" (x=0, y=0, z=0) in the center of the map
Forum: Help Archive 18/02/2011, 10:09 PM
Replies: 8
Views: 1,038
Posted By !Phoenix!
AW: Help on OnPlayerSpawn, setting position

Check the if-statements:
if(true)
{

}

(Not all at once, of course)
Like this you can localize the source of the trouble
Forum: Help Archive 18/02/2011, 10:03 PM
Replies: 9
Views: 831
Posted By !Phoenix!
AW: why not work ?

What do you mean with what's the problem about your gamemode?
If *someone* translated it for you and suddenly it doesn't work anymore the problem is obviously that this person has been sloppy in his...
Forum: Help Archive 18/02/2011, 09:54 PM
Replies: 9
Views: 831
Posted By !Phoenix!
AW: why not work ?

Load the backup and try it again - if it works translate it yourself ; )

..and do something about your spelling ;D
Forum: Help Archive 18/02/2011, 09:52 PM
Replies: 8
Views: 1,038
Posted By !Phoenix!
AW: Help on OnPlayerSpawn, setting position

I assume that the plugin has successfully loaded.
Insert a "SendClientMessage()" or the like to make sure that mysql_query() gets even called.
Forum: Help Archive 18/02/2011, 09:39 PM
Replies: 8
Views: 1,038
Posted By !Phoenix!
AW: Help on OnPlayerSpawn, setting position

http://wiki.sa-mp.com/wiki/Fast_Commands#sscanf



Remove <>
(Don't forget the second one :))
Forum: Help Archive 18/02/2011, 09:32 PM
Replies: 9
Views: 831
Posted By !Phoenix!
AW: why not work ?

"dont run anymore" means that it always worked before?
Do you have changed something in the script then?
Forum: Help Archive 18/02/2011, 09:29 PM
Replies: 3
Views: 807
Posted By !Phoenix!
AW: Dialog won't show upp

DialogBox(playerid, LOOOL+2, ""#CCADET"Not Enough Money!", msg , "Exit","");

No idea what #CCADET means, but you definitely have to escape the quotes.
Forum: Help Archive 18/02/2011, 09:13 PM
Replies: 3
Views: 807
Posted By !Phoenix!
AW: Dialog won't show upp

"DialogBox()" looks not familiar to me.
Maybe ShowPlayerDialog (http://wiki.sa-mp.com/wiki/ShowPlayerDialog)?
Forum: Tutorials 18/02/2011, 09:09 PM
Replies: 466
Views: 207,700
Posted By !Phoenix!
AW: PAWN for SA-MP in Notepad++

I hope you replaced "C:\Program Files (x86)\PAWN Compiler\pawncc.exe" with your path resp. you have your PAWN-Compiler in the same directory as in the example?
Showing results 1 to 25 of 81

 

All times are GMT. The time now is 03:02 PM.


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