Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 334 online users. » 0 Member(s) | 332 Guest(s) Google, Bing
|
Latest Threads |
will open.mp supports hig...
Forum: Questions and Suggestions
Last Post: NoxxeR
Yesterday, 07:10 PM
» Replies: 2
» Views: 389
|
black screen
Forum: Support
Last Post: geppetog
Yesterday, 05:34 PM
» Replies: 0
» Views: 17
|
Discord server - Ban Appe...
Forum: Chat
Last Post: joshcoconutard
2025-04-22, 06:42 PM
» Replies: 0
» Views: 32
|
I know Kalcor left the bu...
Forum: Questions and Suggestions
Last Post: NoxxeR
2025-04-22, 02:22 PM
» Replies: 4
» Views: 136
|
Sponsors and Donations
Forum: Questions and Suggestions
Last Post: NoxxeR
2025-04-20, 05:48 AM
» Replies: 0
» Views: 47
|
Best practices for conver...
Forum: Tech
Last Post: Mido
2025-04-19, 09:53 PM
» Replies: 1
» Views: 116
|
What got you into SA-MP a...
Forum: Chat
Last Post: alecnia
2025-04-17, 01:17 AM
» Replies: 1
» Views: 168
|
I would like to know abou...
Forum: General Discussions
Last Post: Wriney
2025-04-15, 07:14 AM
» Replies: 0
» Views: 81
|
Mini Games
Forum: Advertisements
Last Post: Voldy
2025-04-15, 03:59 AM
» Replies: 9
» Views: 1,942
|
help
Forum: Programming
Last Post: J0nathan550
2025-04-14, 06:10 PM
» Replies: 1
» Views: 192
|
|
|
pawno no respond |
Posted by: nbx2000 - 2019-09-27, 04:05 AM - Forum: Pawn Scripting
- No Replies
|
 |
hello everyone I had a problem compiling it locks but compiles the scrip. important I test with another server that downloads and also does the same thing pawno does not respond but compiles ... why did this happen ???
|
|
|
Bank Robbery System [HELP!] |
Posted by: Fuzzy - 2019-09-24, 12:37 PM - Forum: Pawn Scripting
- Replies (1)
|
 |
PHP Code: // Bank Robbery
new robbing[MAX_PLAYERS];
new alreadyrobbed[MAX_PLAYERS];
new robbingTimer[MAX_PLAYERS];
forward bankrob(playerid);
forward robbedoff(playerid);
public bankrob(playerid)
{
? ?new robcash = random(25000) 35000;
? ?SendClientMessage(playerid, COLOR_WHITE, " Your finished robbing the bank, Run now");
? ?GiveMoney(playerid, robcash);
? ?//SendClientMessage(playerid, COLOR_WHITE, "You've been rob {33CC33}%s{FFFFFF}Dollars from the bank vault.", FormatNumber(robcash));
? ?alreadyrobbed[playerid] = 1;
? ?robbing[playerid] = 0;
? ?robbingTimer[playerid] = SetTimerEx("robbedoff", 3600000, false, "i", playerid);
? ?SendClientMessageToAll(COLOR_ORANGE, "||----------Latest News----------||");
? ?SendClientMessageToAll(COLOR_WHITE, " It looks like the bankrobber got the cash.");
? ?SendClientMessageToAll(COLOR_WHITE, " The cops is currently waiting outside.");
? ?SendClientMessageToAll(COLOR_ORANGE, "||----------Latest News----------||");
? ?return 1;
}
public robbedoff(playerid)
{
? ?alreadyrobbed[playerid] = 0;
? ?SendClientMessage(playerid, COLOR_WHITE, " You can now rob the bank again [/report to ask an admin to approve.]");
? ?return 1;
}
PHP Code: public OnPlayerDeath(playerid, killerid, reason)
{
? ?// Bank Robbey
? ?KillTimer(robbingTimer[playerid]);
? ?robbing[playerid] = 0;
? ?SendClientMessageToAll(COLOR_ORANGE, "||----------Latest News----------||");
? ?SendClientMessageToAll(COLOR_WHITE, " Los Santos Police have been caught the suspect. ");
? ?SendClientMessageToAll(COLOR_ORANGE, "||----------Latest News----------||");
return 1;
}
PHP Code: public OnPlayerDisconnect(playerid, reason)
{
? ?/*// Bank Robbey
? ?KillTimer(robbingTimer[playerid]);
? ?robbing[playerid] = 0;
? ?SendClientMessageToAll(COLOR_ORANGE, "||----------Latest News----------||");
? ?SendClientMessageToAll(COLOR_WHITE, " Los Santos Police have been caught the suspect. ");
? ?SendClientMessageToAll(COLOR_ORANGE, "||----------Latest News----------||");*/
PHP Code: CMD:robbank(playerid, params[])
{
if(robbing[playerid] == 1)
? ? ? return SendErrorMessage(playerid, " You are already robbing the bank, please slow down");
? ?if(alreadyrobbed[playerid] == 1)
? ? ? return SendErrorMessage(playerid, "You already robbed the bank! Wait 1 hour.");
? ? ? ? ? ? ?
? if (!Inventory_HasItem(playerid, "C4"))
? ? ? return SendErrorMessage(playerid, "You don't have a C4.");
? ? ? ? ? ?
? ?if(!IsPlayerInRangeOfPoint(playerid, 5.0, 1435.3354,-981.6418,983.6462)) return SendErrorMessage(playerid, "You are not at the bank !");
? ?SendClientMessage(playerid, COLOR_WHITE, " You started to rob the bank, This will take 10 minutes");
? ?SetTimerEx("bankrob", 600000, false, "i", playerid);
? ?robbing[playerid] = 1;
? ?Inventory_Remove(playerid, "C4");
? ?SendClientMessageToAll(COLOR_ORANGE, "||----------Latest News----------||");
? ?SendClientMessageToAll(COLOR_WHITE, " The bank is currently getting robbed.");
? ?SendClientMessageToAll(COLOR_WHITE, " Los Santos Police units are on the way.");
? ?SendClientMessageToAll(COLOR_WHITE, " We will report more when we get more information");
? ?SendClientMessageToAll(COLOR_ORANGE, "||----------Latest News----------||");
? ?return 1;
}
when player die/quit its gives the msg of the suspect is down but if he stays online for 10min he still get the cash and also if he's relog after quiting he still get the cash after 10 minutes.
Also sometimes the?" Los Santos Police have been caught the suspect. " message showing for no reason
Have any idea how to fix it?
|
|
|
Server is starting, but not visible in the client |
Posted by: Luciano - 2019-09-23, 08:47 PM - Forum: Support
- Replies (1)
|
 |
Hello, I'm trying to run a server on VPS running CentOS 7 64bit.
I'm trying with the default SA-MP package, so the default game modes and everything. The server is starting (server log is fine), but it's not responding in the client.
Permissions are fine, I don't use any plugins, and I added "bind [ipaddress]" and "announce 1" in the server.cfg.
|
|
|
Paying for SAMP SCRIPTER |
Posted by: Samper123 - 2019-09-22, 10:35 PM - Forum: Pawn Scripting
- No Replies
|
 |
Hi, i need a samp scripter to finish my gang script and add zones/turfs to the gangs i currently have with some textdraws when attacking/defending a hood.?
?
Please message me on discord
Samper123#5056
|
|
|
Burgershot.gg Mobile Version |
Posted by: Sasino97 - 2019-09-19, 04:10 PM - Forum: Questions and Suggestions
- Replies (1)
|
 |
I have a few suggestions for the mobile website of burgershot.gg
First, the navigation bar is pretty useless as it is now.
What is the point of having a fixed bar all the time, only displaying the burgershot logo.?
I suggest putting a hamburger menu on the bar showing the login/control panel actions.?
Second, please fix the new thread page, because it's being cut in half vertically.
Later I will post screenshots so you can see what I mean.?
Thanks
|
|
|
Whats different with this 1 line and multi (MySQL) |
Posted by: Zow - 2019-09-16, 04:57 PM - Forum: Pawn Scripting
- Replies (2)
|
 |
Code: ?mysql_format(ourConnection, query, sizeof(query), "UPDATE characters SET pAdmin = %i, pLastSkin = %i, pLevel = %i, pEXP = %i, pMoney = %i, pBank = %i, pPaycheck = %i, pPhone = %i, pLastOnline = '%e', pLastOnlineTime = %i, pAdminjailed = %i, pAdminjailTime = %i WHERE char_dbid = %i",
??PlayerInfo[playerid][pAdmin],
??PlayerInfo[playerid][pLastSkin],
??PlayerInfo[playerid][pLevel],
??PlayerInfo[playerid][pEXP],
??PlayerInfo[playerid][pMoney],
??PlayerInfo[playerid][pBank],
??PlayerInfo[playerid][pPaycheck],
??PlayerInfo[playerid][pPhone],
??ReturnDate(),
??PlayerInfo[playerid][pLastOnlineTime],
??PlayerInfo[playerid][pAdminjailed],
??PlayerInfo[playerid][pAdminjailTime],
??PlayerInfo[playerid][pDBID]);
?mysql_tquery(ourConnection, query);
?
?mysql_format(ourConnection, query, sizeof(query), "UPDATE characters SET pFaction = %i, pFactionRank = %i, pVehicleSpawned = %i, pVehicleSpawnedID = %i, pTimeplayed = %i, pMaskID = %i, pMaskIDEx = %i, pOfflinejailed = 0 WHERE char_dbid = %i",
??PlayerInfo[playerid][pFaction],
??PlayerInfo[playerid][pFactionRank],
??PlayerInfo[playerid][pVehicleSpawned],
??PlayerInfo[playerid][pVehicleSpawnedID],
??PlayerInfo[playerid][pTimeplayed],
??PlayerInfo[playerid][pMaskID][0],
??PlayerInfo[playerid][pMaskID][1],
??PlayerInfo[playerid][pDBID]);
?mysql_tquery(ourConnection, query);
And
Code: mysql_format(ourConnection, query, sizeof(query), "UPDATE characters SET pAdmin = %i, pLastSkin = %i, pLevel = %i, pEXP = %i, pMoney = %i, pBank = %i, pPaycheck = %i, pPhone = %i, pLastOnline = '%e', pLastOnlineTime = %i, pAdminjailed = %i, pAdminjailTime = %i \
pFaction = %i, pFactionRank = %i, pVehicleSpawned = %i, pVehicleSpawnedID = %i, pTimeplayed = %i, pMaskID = %i, pMaskIDEx = %i, pOfflinejailed = 0 WHERE char_dbid = %i",
PlayerInfo[playerid][pAdmin],
PlayerInfo[playerid][pLastSkin],
PlayerInfo[playerid][pLevel],
PlayerInfo[playerid][pEXP],
PlayerInfo[playerid][pMoney],
PlayerInfo[playerid][pBank],
PlayerInfo[playerid][pPaycheck],
PlayerInfo[playerid][pPhone],
ReturnDate(),
PlayerInfo[playerid][pLastOnlineTime],
PlayerInfo[playerid][pAdminjailed],
PlayerInfo[playerid][pAdminjailTime],
PlayerInfo[playerid][pFaction],
PlayerInfo[playerid][pFactionRank],
PlayerInfo[playerid][pVehicleSpawned],
PlayerInfo[playerid][pVehicleSpawnedID],
PlayerInfo[playerid][pTimeplayed],
PlayerInfo[playerid][pMaskID][0],
PlayerInfo[playerid][pMaskID][1],
PlayerInfo[playerid][pDBID]);
mysql_tquery(ourConnection, query);
Which one should I do? And why?
|
|
|
Me hechas una mano? |
Posted by: Soy Od?n - 2019-09-13, 07:56 PM - Forum: Offtopic
- Replies (1)
|
 |
Hola gente de Youtube, estoy en busca?de ayuda... Perd? a?Loki.
Nuevamente, hola banda, tengo los siguientes problemas, no tengo la m?nima idea de como crear una cuenta en phpmyadmin en primera, en segunda no se como solucionar el error que me tira al querer abrir pawno?pero eso no?me perjudica en abrirlo me preocupa si este error me perjudique es compilar porque no se un?pingo, en tercera como puedo utilizar el costadito de pawno,?e visto que mucha gente le salen los comandos de los yoncpero ami no, se debe al error que mencione??Muchas gracias una continuaci?n de las...
Im?genes chiquitas:
https://ibb.co/3zxxzxv
https://ibb.co/YPwG5Hq
https://ibb.co/Q98jv7f
Cabe recalcar que no s? la onu pingo de scriptear, de programar, de hacer weascu?nticaspero ac? estamos queriendo aprender, un?abrazo grande.
|
|
|
|