Quantcast
Channel: SA-MP Forums
Browsing all 18226 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Equity Gaming Roleplay | Where balance expectation meets

Server IP: samp.equitygaming.net Server Website: http://www.equitygaming.net Voice Communcation Discord: http://www.equitygaming.net/discord Facebook Fan Page: Equity Gaming Facebook Fanpage Script...

View Article


Vehicle interiors

How to make a vehicle interior? Like when you come to a vehicle and press f and you enter his interior? I know how to make regular interiors but how to make interior entry point to move where the car...

View Article


Convert this float to integer?

percent = 5; (int) price = 10000; (int) float: truePercent = percent/100.0; - this makes me %.2f = 0.05 - this what i need. Now i need to do this: (price*truePercent)+price | example:...

View Article

Textdraw

PHP Code: CMD:setlevel(playerid, params[]) {     new lookupid, str[128], level;     if(pData[playerid][Admin] >= 9 || IsPlayerAdmin(playerid))     {         if(sscanf(params,"ud",lookupid,level))...

View Article

Problem With Selectable Textdraw

Code: public OnPlayerConnect(playerid) {         engine = TextDrawCreate(514.400329, 205.333312, "Turn On Engine");         TextDrawLetterSize(engine, 0.449999, 1.600000);...

View Article


Need help with this!

So I made a Pay n Spray system and when you /enter, it sets a timer for 10 seconds. This is the code: PHP Code: public PNSExit() {     foreach (new i : Player)     {         if(Player[i][InPaynSpray])...

View Article

Image may be NSFW.
Clik here to view.

[Ajuda] TEXTDRAW BUGADA

print do erro http://imgur.com/a/3TPSN Code da Textdraw PHP Code: registro_draw[0] = TextDrawCreate(365, 65, "~b~VIDA~w~ DE ~b~BANDIDO"); TextDrawLetterSize(registro_draw[0], 1.0, 2.9);...

View Article

[MYSQL R40] cache_get_value_name expected token: ";", but found "]"

Hello, I have problems with pawn, I don't know what is causing this. The error line is (186): PHP Code: cache_get_value_name(0, "password", PlayerInfo[playerid][password],...

View Article


ChatBubble or 3D label?

Hello, how can I make chatbubble or 3d label to be above player and stay until player performs certain command to remove them? I want to make text [ADMIN] over players head, but how?

View Article


Pickup help

so iv made a pickup system from my server and it is good but when the player pickup pickup it checks if the pickup I created id I mean here is the code : PHP Code:             for(new i = 0; i <...

View Article

Audio

So yeah, I'm using audio plugin for the first time, have everything setup, the default pack gets selected on gamemodeinit and the files are in correct path. But the music doesnt plays. Any problem with...

View Article

Use key "f" to do /enter and /exit

I need to use key "f" to do /enter and /exit... help plz !

View Article

Little Question

Which one is good? Code 1: Code: forward Function1(a); public Function1(a) //It is a timer! {     new string[128];     for(new i = 0; i < MAX_PLAYERS; i++)     {         if(a == 1)         {...

View Article


looping music at onplayerconnect

i have my code but the code is only for the car and how to change to onplayerconnect PHP Code: forward SwitchNewSound(); public SwitchNewSound() {  for(new i = 0; i < MAX_PLAYERS; i++)         {...

View Article

SetSpawnInfo not working ???

Hi guys! Im scripting CNR server and i scripted dialog where you choose your team but i have problem: Code: public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) {...

View Article


GetPlayerScore - SetPlayerColor

There is something wrong with this coding but I cant seem to see what, eg. when the player's score is 1001 it still shows the first color for 0-500, can someone help me please? PHP Code: public...

View Article

Classes

Hello if i have 2 classes [Medic, Police] In the Request of the class in police it show the 3 skins and the place of spawn and in medics it show 3 skins and the place of spawn? btw, i tried to do but...

View Article


HELP CRASHDETECT

Code: [debug] #1 0014f264 in public AB_OnPlayerSpawn (playerid=5) at C:\Users\user\Desktop\SERVER\gamemodes\SV1.pwn:18364 [debug] #2 000527bc in public OnPlayerSpawn (playerid=5) at...

View Article

Stream

Well, can the audio plugin stream a sound for nearby players cause the loop makes the server crash. Check this PHP Code: foreach(new i : Player) if(IsPlayerNearPlayer(playerid, i, 5.0)) {     music[i]...

View Article

Duda con un timer

Bueno chicos tengo una pequeña duda que creo será fácil de resolver para los más expertos en script, yo estoy aprendiendo y me gustaría saber cada día más. Comencemos. He creado la facción de bomberos...

View Article
Browsing all 18226 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>