Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,032
» Latest member: CharlesGorski
» Forum threads: 2,346
» Forum posts: 12,232

Full Statistics

Online Users
There are currently 276 online users.
» 0 Member(s) | 274 Guest(s)
Bing, Google

Latest Threads
Discord server - Ban Appe...
Forum: Chat
Last Post: joshcoconutard
Yesterday, 06:42 PM
» Replies: 0
» Views: 22
I know Kalcor left the bu...
Forum: Questions and Suggestions
Last Post: NoxxeR
Yesterday, 02:22 PM
» Replies: 4
» Views: 121
Sponsors and Donations
Forum: Questions and Suggestions
Last Post: NoxxeR
2025-04-20, 05:48 AM
» Replies: 0
» Views: 45
Best practices for conver...
Forum: Tech
Last Post: Mido
2025-04-19, 09:53 PM
» Replies: 1
» Views: 107
What got you into SA-MP a...
Forum: Chat
Last Post: alecnia
2025-04-17, 01:17 AM
» Replies: 1
» Views: 165
I would like to know abou...
Forum: General Discussions
Last Post: Wriney
2025-04-15, 07:14 AM
» Replies: 0
» Views: 75
Mini Games
Forum: Advertisements
Last Post: Voldy
2025-04-15, 03:59 AM
» Replies: 9
» Views: 1,923
help
Forum: Programming
Last Post: J0nathan550
2025-04-14, 06:10 PM
» Replies: 1
» Views: 184
help with hotdog vendor s...
Forum: Programming
Last Post: J0nathan550
2025-04-14, 06:09 PM
» Replies: 4
» Views: 346
Struggling with NPC sync ...
Forum: Tech
Last Post: mnemonic
2025-04-10, 07:47 AM
» Replies: 0
» Views: 72

 
  Blur ?
Posted by: NexoR - 2019-06-16, 12:29 PM - Forum: Questions and Suggestions - Replies (2)

Hi, will there be support for blurring textdraws?


  Built-in Map Editor
Posted by: Spredde - 2019-06-16, 11:18 AM - Forum: Questions and Suggestions - Replies (3)

I don't think this will be high on your priority list, but even though you've decided on high compatibility with SA-MP I think it'd still be lovely if you could add in built-in map editor that would get updated whenever the map-changing feature comes out.


  Pawn compiler for Android
Posted by: Luciano - 2019-06-15, 03:04 PM - Forum: Programming - Replies (5)

I'm running Prime OS on my main PC, which is an Android-based operating system for desktop computers.

Is there a way to make the Pawn compiler work with any existing Android app?


  ShowMenuForPlayer Problem No back No working
Posted by: nbx2000 - 2019-06-15, 03:24 AM - Forum: Pawn Scripting - Replies (2)

hola tengo un problema ShowMenuForPlayer en el men? que aparece, deja 3 opciones entre las dos primeras y comprime hacia atr?s y no funciona y es buguea porque qe atr?s no funciona. Marcarlo aqu?

[c?digo]

if (Actual == Teletransportes)

{

? ? interruptor (fila)

? ? {

? ? ? ? case 0: // Stunt zones 1

? ? ? ? {

? ? ? ? ? ? ShowMenuForPlayer(StuntZones1, playerid);

}

? ? ? ? case 1: // Stunt zones 2

? ? ? ? {

? ? ? ? ? ? ShowMenuForPlayer(StuntZones2, playerid);

}

? ? ? ? case 2: // OtherZones

? ? ? ? {

ShowMenuForPlayer(OtherZones, playerid);

}

case 3: // Exit

{

HideMenuForPlayer(Current, playerid);

TogglePlayerControllable(playerid,true);

}

}

}



if(Current == StuntZones1)

{

? ? switch(row)

? ? {

case 0: // BigJump

? ? ? ? {

TimedTele(playerid, "", -639.9559,2328.1963,135.0000,? 0, 6);

TogglePlayerControllable(playerid,true);

SetTimerEx("setstunt",3000,0,"i", playerid);

}

case 1: // LSTower

? ? ? ? {

TimedTele(playerid, "", 1537.1813,-1364.6439,1882.5000,? 0, 6);

TogglePlayerControllable(playerid,true);

SetTimerEx("setstunt",3000,0,"i", playerid);

}

case 2: // BuildingJump

? ? ? ? {

CarSpawner(playerid,461);

TimedTele(playerid, "", -2882.8174,-3074.8611,83.0000,? 0, 6);

TogglePlayerControllable(playerid,true);

SetTimerEx("setstunt",3000,0,"i", playerid);

}

case 3: // Chilliad

? ? ? ? {

TimedTele(playerid, "", -2338.1836, -1631.0298, 483.7010,? 0, 6);

TogglePlayerControllable(playerid,true);

SetTimerEx("setstunt",3000,0,"i", playerid);

}

case 4: cmd_stuntchilliad(playerid,"\1"); //stuntchilliad 2

? ? ? ? case 5: // LVAirport

? ? ? ? {

TimedTele(playerid, "", 1299.8621,1378.2822,10.3751,? 0, 6);

TogglePlayerControllable(playerid,true);

SetTimerEx("setstunt",3000,0,"i", playerid);

? ? ? ? }

? ? ? ? case 6: // SFAirport

? ? ? ? {

TimedTele(playerid, "", -1373.3844,-258.4916,14.0000,? 0, 6);

TogglePlayerControllable(playerid,true);

SetTimerEx("setstunt",3000,0,"i", playerid);

? ? ? ? }

case 7: // Back here NOT BACK PROBLEM?

{

ShowMenuForPlayer(Teleports, playerid);

TogglePlayerControllable(playerid,true);

}

}

}



if(Current == StuntZones2)

{

? ? switch(row)

? ? {

? ? ? ? case 0: // Skate park

? ? ? ? {

TimedTele(playerid, "", 1920.3247,-1402.8632,13.5703,? 0, 6);

TogglePlayerControllable(playerid,true);

SetTimerEx("setstunt",3000,0,"i", playerid);

? ? ? ? }

case 1: // WayToDeath

? ? ? ? {

CarSpawner(playerid,541);

TimedTele(playerid, "", 996.6433,2787.8489,1067.7532,? 0, 6);

TogglePlayerControllable(playerid,true);

SetTimerEx("setstunt",3000,0,"i", playerid);

}

case 2: // Stadium

{

TimedTele(playerid, "", -1478.6078,1646.1399,1052.5313,? 14, 6);

TogglePlayerControllable(playerid,true);

SetTimerEx("setstunt",3000,0,"i", playerid);

}

case 3: // MonsterCrash

? ? ? ? {

CarSpawner(playerid,444);

TimedTele(playerid, "", -2383.9839,2909.5325,362.3510,? 0, 6);

TogglePlayerControllable(playerid,true);

SetTimerEx("setstunt",3000,0,"i", playerid);

}

case 4: // FreeWay

? ? ? ? {

CarSpawner(playerid,568);

TimedTele(playerid, "",? -2847.1392,2185.9849,799.5908, 0, 6);

TogglePlayerControllable(playerid,true);

SetTimerEx("setstunt",3000,0,"i", playerid);

}

case 5: // DeadJump

? ? ? ? {

TimedTele(playerid, "", -673.3708,-3024.7944,705.3344,? 0, 6);

TogglePlayerControllable(playerid,true);

SetTimerEx("setstunt",3000,0,"i", playerid);

? ? }

case 6: // Upside Down

? ? ? ? {

CarSpawner(playerid,411);

TimedTele(playerid, "", 391.1825,-82.5999,558.1525,? 0, 6);

TogglePlayerControllable(playerid,true);

SetTimerEx("setstunt",3000,0,"i", playerid);

}

case 7: // AquaPark

{

TimedTele(playerid, "", 284.4926,-1863.2415,2.8927,? 0, 6);

TogglePlayerControllable(playerid,true);

SetTimerEx("setstunt",3000,0,"i", playerid);

}

case 8: // here NOT BACK MENU? PROBLEM?

{

ShowMenuForPlayer(Teleports, playerid);

TogglePlayerControllable(playerid,true);

}

}

}

if(Current == TrainStations)

{

? ? switch(row)

? ? {

? ? ? ? case 0: // LS

? ? ? ? {

TimedTele(playerid, "", 1734.6804,-1944.9839,13.5646,? 0, 6);

TogglePlayerControllable(playerid,true);

}

? ? ? ? case 1: // SF

? ? ? ? {

TimedTele(playerid, "", -1965.7423,161.1771,27.6875, 0, 6);

TogglePlayerControllable(playerid,true);

}

? ? ? ? case 2: // LV1

? ? ? ? {

TimedTele(playerid, "", 1430.7799,2653.1604,11.3926, 0, 6);

TogglePlayerControllable(playerid,true);

}

? ? ? ? case 3: // LV2

? ? ? ? {

TimedTele(playerid, "", 2848.7876,1293.9376,11.3906, 0, 6);

TogglePlayerControllable(playerid,true);

}

case 4: // Back

{

ShowMenuForPlayer(OtherZones, playerid);

TogglePlayerControllable(playerid,true);

}

}

}



if(Current == TuneGarages)

{

? ? switch(row)

? ? {

? ? ? ? case 0: // TuneGarage1

{

TimedTele(playerid, "", -1935.9851, 231.7287, 34.1563, 0, 6);

TogglePlayerControllable(playerid,true);

}

? ? ? ? case 1: // TuneGarage2

? ? ? ? {

TimedTele(playerid, "", -2709.7312, 217.4238, 4.1797, 0, 6);

TogglePlayerControllable(playerid,true);

}

? ? ? ? case 2: // TuneGarage3

? ? ? ? {

TimedTele(playerid, "", 2386.8020, 1036.3203, 10.8203, 0, 6);

TogglePlayerControllable(playerid,true);

}

? ? ? ? case 3: // TuneGarage4

? ? ? ? {

TimedTele(playerid, "", 2644.9768, -2030.9032, 13.5540, 0, 6);

TogglePlayerControllable(playerid,true);

}

case 4: // Back

{

ShowMenuForPlayer(OtherZones, playerid);

TogglePlayerControllable(playerid,true);

}

}

}

if(Current == OtherZones)

{

? ? switch(row)

? ? {

? ? ? ? caso 0: // TuneGarages

? ? ? ? {

? ? ? ? ? ? ShowMenuForPlayer (TuneGarages, playerid);

}

? ? ? ? caso 1: // Estaciones de tren

? ? ? ? {

ShowMenuForPlayer (TrainStations, playerid);

}

? ? ? ? caso 2: // AA

? ? ? ? {

TimedTele (playerid, "", 402.8024,2534.6926,16.700, 0, 6);

TogglePlayerControllable (playerid, true);

SetTimerEx ("setstunt", 3000,0, "i", playerid);

}

? ? ? ? caso 3: // DragRace

? ? ? ? {

TimedTele (playerid, "", 1031.1125, -2297.4236,12.8004, 0, 6);

TogglePlayerControllable (playerid, true);

SetTimerEx ("setstunt", 3000,0, "i", playerid);

? ? ? ? }

? ? ? ? caso 4: // Karting

? ? ? ? {

CarSpawner (playerid, 571);

TimedTele (playerid, "", 2888.9099,1028.5667,17.0000, 0, 6);

TogglePlayerControllable (playerid, true);

SetTimerEx ("setstunt", 3000,0, "i", playerid);

}

caso 5: // suciedad

? ? ? ? {

TimedTele (playerid, "", -1299.6615, -700.7803,1056.2037, 4, 6);

TogglePlayerControllable (playerid, true);

SetTimerEx ("setstunt", 3000,0, "i", playerid);

}

caso 6: // AdminCastle

{

if (PlayerInfo [playerid] [Level]> 0) {

TimedTele (playerid, "", -2891.6179, -76.7571,4.0496, 0, 6);

TogglePlayerControllable (playerid, true);

SetTimerEx ("setstunt", 3000,0, "i", playerid);

}

m?s{

SendClientMessage (playerid, COLOR_RED, "?S?lo los administradores pueden teletransportarse all?!");

}



? ? }

caso 7: // PinkAutos

? ? ? ? {

TimedTele (playerid, "", -1623.2146,1227.1677,7.0391, 0, 6);

TogglePlayerControllable (playerid, true);

SetTimerEx ("setstunt", 3000,0, "i", playerid);

}

? ? ? ? caso 8: // Deriva

? ? ? ? {

TimedTele (playerid, "", -309.9550,1560.8075,75.3594, 0, 6);

TogglePlayerControllable (playerid, true);

SetTimerEx ("setstunt", 3000,0, "i", playerid);

}

caso 9: // Volver

{

ShowMenuForPlayer (Teleports, playerid);

TogglePlayerControllable (playerid, true);

}

}

}

devuelve 1;

}

[/c?digo]


  Custom Models
Posted by: 2PAC_ - 2019-06-13, 05:24 PM - Forum: Questions and Suggestions - Replies (1)

Will open.mp support custom models?


  [Showcase/Mapp] Old office
Posted by: Apex - 2019-06-13, 03:22 PM - Forum: Videos and Screenshots - Replies (1)

[Image: sa-mp-194.png]

[Image: sa-mp-195.png]

[Image: sa-mp-197.png]

[Image: sa-mp-198.png]


  Just gonna leave it here
Posted by: SynTacs - 2019-06-13, 02:42 PM - Forum: Chat - Replies (6)

Been wondering why the other side became a ghost town all of a sudden, seeing BigETTI banned and some other dudes. I researched a bit and finally got a word that Y_Less was active somewhere else and got a link here... You guys were all here... A new future and a new light for SA-MP, got somehow discouraged with the silence but because of this... I guess we fighting for a new better SA-MP :D


Question string manipulation i/o and proper orientation order
Posted by: hastlaking - 2019-06-12, 11:58 PM - Forum: Pawn Scripting - Replies (2)

Subject

string manipulation i/o and proper orientation order



Hello community! today i want to share with you a chunk of code written by me, it's main purpose and usage is to mention player's in game globally to know to whom the player is speaking to, the issue i have and concerned about is i cannot proceed further, that is why i have posted here all in relation with pawn scripting section to ask for help from more experienced codders/scripters.



The thing/'s i am concerned about:



Code:
public OnPlayerText(playerid, text[])

{

? ? ? switch(text[1])

? ? ? {

? ? ? ? ? ?case '@': // case the player has inputted symbol '@'

? ? ? ? ? ?{

? ? ? ? ? ? ? ? // sending a client message to the playerid, mainly for its usage.

? ? ? ? ? ? ? ? // `sscanf` proccssed

? ? ? ? ? ? ? ? if(sscanf(text, "us[96]", targetid, message))

? ? ? ? ? ? ? ? {

? ? ? ? ? ? ? ? ? ? ?SendClientMessage(playerid, -1, "mention player: \'@\' <id> message");

? ? ? ? ? ? ? ? ? ? ?return 0;

? ? ? ? ? ? ? ? }

? ? ? ? ? ?}

? ? ? }

? ? ? return 0;

}


  • 1. Retrieving both playerid and targetid name - Pending

  • 2. coloring - Ready

  • 3. checking each position on input (after the symbol '@' checking id from 0 to 100) - No idea how to check position

  • 4. formating and sending the message - have it




missing some vital functions and organizing/hooking them.



Best Regard's to everyone

?Hastlaking


Information Two Factor Authentication [2FA]
Posted by: dakyskye - 2019-06-11, 03:15 PM - Forum: Tech - Replies (6)

Which 2FA mobile app do you use and why do you prefer it to others?

I actively used Google Authenticator but I ditched it today.. I'm looking for an (a better) alternative.

Any thoughts?


  Permissions
Posted by: Pinch - 2019-06-09, 07:45 AM - Forum: Questions and Suggestions - Replies (7)

Hmmm, I'm wondering is it possible to create (built-in ) permissions system to open.mp ( yeah, just like in MINECRAFT )

Like


Code:
native AddPermissionGroup("permgroup");
native AddPermissionTree("permgroup", "perm");
native AddPermissionToGroup(groupid, "permission");
native AddGroup(groupName);
native AddPlayerToGroup(playerid, groupName);



And sth like that, ask why?

We can use FS's without actually modifying code like to adapt CMD_PERM_ADMIN or pAdmin and shit like that, instead we can just:

/creategroup Admin
/setgperm Admin permission.cmd.* ( * - all perms from .cmd group, first native )
/setgtoplayer [ Player ] [ Group ]

permission.groupname.perm
permission.fsname.perm

and stuff like that, I hope you understand me :D