Search Results
You're making your system way more complicated than it needs to be. The way I see it you already have access to the player's playerid in game, why save it in your database when it is only accessed wh...
Your compile information is irrelevant. Your server log does not seem complete. Check your server.cfg and MySQL_log.txt.
Hello there, I've been on SAMP for over 5 years now, however I just restored my laptop to original factory settings to clean it out yesterday and now I'm having trouble getting SAMP to work again. I...
Looking for 5-10 Beta Testers to test a roleplay gamemode from scratch. Script is over 90,000 lines long and every single feature will need to be thoroughly tested in order to ensure that it is stabl...
Check your mysql_log.txt to see if it's a MYSQL error. I highly doubt that though, your server probably can't handle that much traffic.
Quote: Originally Posted by fonia5 Because we wanted windows not linux anything wrong with it? Yeah, Windows sucks and when you finally get a steady playerbase you're going to get hacke...
Quote: Originally Posted by Smally You will get more out of your resources in general using Linux, as it uses less than Windows. However, if you do not have any knowledge it can be quite t...
Either way, go Linux. Windows isn't as secure and Linux is easier on resources.
You're using CreateDynamicObject then SetObjectMaterialText. Either use CreateObject and SetObjectMaterialText or CreateDynamicObject and SetDynamicObjectMaterialText
if(sscanf(params, "u", level)) "u" is the parameter for playerids. i = integer d = decimal so Код: if(sscanf(params, "d", level)) Will work properly.
Check line 112 in There's a variable argument error there
Show us your current enumerator for player information/data and I can give a more detailed example, however it's pretty simple. Код: enum pData { pLevel, pMoney, pBank, pExperience, pNumber...
CMD:repair(playerid, params[]) { if(!IsPlayerInRangeOfPoint(playerid, radius, x, y, z)) return SendClientMessage(playerid, -1, "You can't do that here"); rest of command } or you can use che...
if(!(IsPlayerInRangeOfPoint(playerid, 2, HouseData[i][housePos][0], HouseData[i][housePos][1], HouseData[i][housePos][2]))) ?
Quote: Originally Posted by danish007 but how to set maximum size? if(fScaleX < limit) if(fScaleY < limit) if(fScaleZ < limit)
Code: for(new i = 0; i < sizeof(Object); i++) // 'Object' is your array { new Float:X, Float:Y, Float:Z; GetObjectPos(Object[i], X, Y, Z); if(IsPlayerInRangeOfPoint(playerid, 1, X, ...
GetPlayerInterior, GetPlayerVirtualWorld, then use the rest of the CreateDynamicObject function. native CreateDynamicObject(modelid, Float, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -...
You're not able to hide the HUD (which includes minimap). The only things that you could do would be to ShowPlayerMapIcons and hide the HUD like t...
new Accessories[][AccessoriesEnum] = { {2103, "Stereo"}, {19078, "Parrot"}, {18632, "FishingRod"}, new accessorysr[MAX_PLAYERS][sizeof(AdminAccessers)]; Make an enumerator and attach the object IDs ...