Search Results
Quote: Originally Posted by ****** That array by itself is not the problem. There must be something in where it is located or being used. Ah.. That solved the issue, thanks! The issue...
148
even with pawn Код: new RandomSkin[43] = {    1,2,3,    4,5,6,    7,17,18,    19,20,21,    22,23,24,    25,29,44,    45,47,51,    52,66,67,    82,83,84,    102,103,104,    10...
148
Can someone actually read my question please? :/
148
I don't want certain skins, hence I came up with this... Do you see anything wrong with the array?
148
Hey guys.. I have this random skin array. and whenever I uncomment it, it forces my compiler to crash when i compile. I can't see the error here, maybe a second opinion will help pawn Код: new Ran...
148
You put the RemoveObject in OnPlayerConnect... If thats what you're asking?
215
It's most likely coming from the line above that. What is the line above new File:Bugs; ?
79
Quote: Originally Posted by IKnowWhatIAmDoing new Text3D:Myvar[MAX_PLAYERS]; Myvar = Create3DTextLabel("I'm at the coordinates:\n30.0, 40.0, 50.0", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0, ...
132
new Text3D:SOobject[MAX_PLAYERS]; I think that will work? edit: Mionee beat me to it :P
132
You could use a loop (Click here) Check if the play is online and check if their in the house equal to houseid... EDIT: Foreach is more widely used for player looping
74
Instead of using '%s' to insert string into your query, use '%e'. This ecapes the string and avoids any possible MySQL Inject.
104
There is no class selection, It's a roleplay script.
118
Quote: Originally Posted by RedFusion What if you use pawn Код: OnPlayerSpawn(playerid); and remove SpawnPlayer completely? When a person logs in it bugs out. As in the Spawn and ar...
118
That's how I created my work around. However it will randomly call OnPlayerSpawn twice... This is really annoying, I don't understand why it does not work as printed on the box so to speak..
118
When a player connects to the server they enter their password and they should spawn at their last saved position etc.. However when "SpawnPlayer(playerid)" is called it does not call "OnPlayerSpawn(p...
118
As Clad said... Also try reading this https://sampforum.blast.hk/showthread.php?tid=507416 It will help us help you.
89
The saving/loading method uses SQLite... You need to set up your SQLite Database for the data to be stored. It should save to a file called database.db or whatever you named it. If it doesnt save you...
88
Change pawn Код: !pInfo[playerid][pLevel] >= 0) to pawn Код: pInfo[playerid][pLevel] == 0 Should only check people who have the (admin?) level of 0
184
Okay well I assume it's something along the lines of pawn Код: if (skinid == 217 && pInfo[playerid][pAdmin] == 0) return SendClientMessage(playerid, -1,"This skin is available for staff m...
189