Search Results
Dude put ur conditional code the other way around.
91
That version of the plugin uses CreateDynamicObject for objects so use that instead, I have no idea how CreateStreamObject even comoiles for you lol.
139
You are using 0.3c and not 0.3d SA:MP right? CreateStreamObject is not listed as a function in incognito's streamer plugin. Are you using the latest here, https://sampforum.blast.hk/showthread.php?t...
139
Do those 2 messages just after you create that streamobject actually show up? Is there an alternative streamer plugin/include you can use? (I dunno what one you are using at the moment). The best ad...
139
It says cannot read from the file named "mapandreas", find this in the FS and look at the location it is trying to read from and make sure the file is there.
133
The object actually exists and is what you think it is? (verified in a map editor or wiki etc). Also put your PAWN code in pawn tags, it makes it easier to read and find problems .
139
The results I have is: if (pInfo[playerid][pConnected]) {} executed 41.62 times/ms. if (IsPlayerConnected(playerid)) {} executed 29.71 times/ms. I couldn't think of a simple way in PAWN to only cou...
2,363
Ahhh I see now, I was in such a rush to see what the results would be I didn't properly check how the define actually works.
2,363
Aha well that clears that up lol. I still don't understand why it worked with IsPlayerConnected but not passing my enumeration array, but I will try this when I can and see if I get a better result.
2,363
pawn Code: enum pData{  Float: pHealth,  Float: pArmor,         pName[MAX_NAME],  pSex,  pAge,  pAcc,  pConnected,  // Keep track of if this ID is connected.  pExp,  pMoney,  pBank};ne...
2,363
I tried this out, but you need to re-word as you can't put the FINISH define below your code because as far as calling it is concerned, it doesn't recognize it as existing. Also not sure why, but if ...
2,363
That depends on your definition of a "game" lol.
136
I agree though funky, I always got errors when doing this, I even posted about it.... Also you were doing return 1;, so it wouldn't be passing a string back anyway lol. But I see you have it solved n...
136
Doesn't "u" check if they are online and if not return INVALID_PLAYER_ID though? This means you now have to check exclusively?
73
Don't worry about, we all got to start somewhere. Years ago when I got into this sort of things, asking questions people acted like it was World War III LOL! Now they ask for my help..... :P.
93
I see you check loginname, I don't see a password check? lol.
145
If you are not using ZCMD/DCMD then yes OnPlayerCommandText. pawn Code: if (!strcmp(cmdtext, "/race", true))   {    new Float: x, Float: y, Float: z;           GetPlayerPos(GOTOPLAYER, x, y...
264
Have a good read through that code you posted. With what you can gather from the wiki for SetPlayerColor, look where it turns admin ON and then OFF, this is where you want to use that function to cha...
93
Here, this will generate the 7 random num/chars: pawn Код: new abc[][26] ={  {"A"}, {"B"}, {"C"}, {"D"}, {"E"}, {"F"}, {"G"}, {"H"}, {"I"}, {"J"}, {"K"},  {"L"}, {"M"}, {"N"}, {"O"}, {"P"}, {"Q...
117
Yeah I see, I assume you mean the wacked out characters? My first thought is..... random() on the SA:MP wiki has no mention of using it in the way that you are lol. What kind of license plate are yo...
117