-
Posts
30 -
Joined
-
Last visited
Content Type
Profiles
Forums
News
Documentation
Posts posted by Pa4enka
-
-
Levante#0652
-
Show me code
-
What kind of errors?
-
-
If relevant, message me on discord: Levante#0652
-
If relevant...
t.me/levante24
-
try replace that return 1 in your FS to return 0
-
-
https://github.com/pawn-lang/compiler/releases
you need to replace all compiler files with the files in the archive and compile the gamemode again.
I recommend installing version 3.10.8 to start
-
SET GLOBAL time_zone = '+00:00';
-
download Zeex compiler.
-
Replace your code section with my code.
I want to remove legacy from your code. This is important to get to the core of your problem.
-
Levante#0652
-
#function UpdateProgress(playerid, bar) {
>>
forward UpdateProgress(playerid, bar); public UpdateProgress(playerid, bar) {
-
Hello everybody!
My name is Yurii. I'm a Pawn developer from Ukraine.
Ready to help you make the best systems for your SA:MP project!Why should you choose me? Because:
1) My experience in the Pawn language is more than 5 years.
2) Work on large russian-language projects online with more than 500 players at the same time.
3) A lot of positive feedback and recommendations from serious managers.
4) My work is completely transparent.
5) I work WITHOUT pre-payment
What can you order from me? Here is the list:
1) help in correcting errors/warnings;
2) consultation on any technical issues;
3) systems of any complexity according to your terms of reference.
4) editing code/gamemode (optimization).
5) bug fixes of any complexity.
etc...Separately, I consider proposals:
1) work on your project for a fixed salary
2) writing a "gamemode from 0"
* here everything depends on my free time and your payment.Payment Methods:
1) PayPal
2) Swift Transfer
3) ToncoinTelegram: t.me/levante24
Discord: Levante#0652Support Ukraine - UNITED24
- 2
-
if(PlayerInfo[playerid][pAdmin || PlayerInfo[playerid][pHelper]) return true;
to the top of the public
-
case must be inside the switch
-
payment?
-
new const gArrayCoordCheckpoint[][] = { { -372.6979, -1456.3641, 26.4046 }, // coord checkpoint 1 { -419.0640, -1381.4750, 30.5690 } // coord checkpoint 2 // .... } new gCheckpointCount[MAX_PLAYERS], gPlayerStart[MAX_PLAYERS char]; // when the player needs to show the first checkpoint SetPlayerCheckpoint(playerid, gArrayCoordCheckpoint[0][0], gArrayCoordCheckpoint[0][1], gArrayCoordCheckpoint[0][2], 3.0 ); gCheckpointCount[playerid] = 0; gPlayerStart{playerid} = true; // OnPlayerEnterCheckpoint if( gPlayerStart{playerid} ) { gCheckpointCount[playerid] ++; if(gCheckpointCount[playerid] >= sizeof gArrayCoordCheckpoint) { // last checkpoint // ...... gCheckpointCount[playerid] = 0; return true; } new idx = gCheckpointCount[playerid]; SetPlayerCheckpoint(playerid, gArrayCoordCheckpoint[idx][0], gArrayCoordCheckpoint[idx][1], gArrayCoordCheckpoint[idx][2], 3.0 ); }
this is current example.
-
You may not have a gamemode in your config.
-
12 hours ago, Mister said:
Salut,
Pentru eroare de mai jos pune deasupra comenzii sau pe la inceputul gamemode-ului
#pragma tabsize 0
tabsize 0 is not good practice.
Author, just make the code a ladder (tab).
-
I updated my post, see above.
-
if( !strcmp("/info", cmdtext, true, 10) ) { SendClientMessage(playerid, 0x63a74FF, "Pretul unui deagle este de 15k"); SendClientMessage(playerid, 0x63a74FF, "Pretul unui ak47 este de 30k"); SendClientMessage(playerid, 0x63a74FF, "Pretul unu shotgun este de 45k"); SendClientMessage(playerid, 0x63a74FF, "Pretul unui uzi este de 70k"); SendClientMessage(playerid, 0x63a74FF, "Pretul unui minigun este de 400k"); return 1; } if( !strcmp("/deagle", cmdtext, true, 10) ) { if(GetPlayerMoney(playerid) < 15000) return SendClientMessage(playerid, 0x63a74FF,"EROARE:NU AI SUFICIENTI BANII"); GivePlayerMoney(playerid, -15000); GivePlayerWeapon(playerid, 24, 100); SendClientMessage(playerid, 0x63a74FF,"AI PLATIT 15K SI AI PRIMIT UN DEAGLE"); } if( !strcmp("/ak47", cmdtext, true, 10) ) { if(GetPlayerMoney(playerid) < 30000) return SendClientMessage(playerid,0x63a74FF,"EROARE:NU AI SUFICIENTI BANII"); GivePlayerMoney(playerid, -35000); GivePlayerWeapon(playerid, 30, 100); SendClientMessage(playerid, 0x63a74FF, "AI PLATIT 35K SI AI PRIMIT UN AK47"); } if( strcmp("/shotgun", cmdtext, true, 10) ) { if(GetPlayerMoney(playerid) < 45000) return SendClientMessage(playerid, 0x63a74FF, "EROARE:NU AI SUFICIENTI BANII"); GivePlayerMoney(playerid, -45000); GivePlayerWeapon(playerid, 25, 100); SendClientMessage(playerid, 0x63a74FF, "AI PLATIT 45K SI AI PRIMIT UN SHOTGUN"); } if( !strcmp("/uzi", cmdtext, true, 10) ) { if(GetPlayerMoney(playerid) < 70000) return SendClientMessage(playerid, 0x63a74FF, "EROARE:NU AI SUFICIENTI BANII"); GivePlayerMoney(playerid, -70000); GivePlayerWeapon(playerid, 28, 100); SendClientMessage(playerid, 0x63a74FF, "AI PLATIT 70K SI AI PRIMIT UN UZI"); } if( !strcmp("/minigun", cmdtext, true, 10) ) { if(GetPlayerMoney(playerid) < 400000) return SendClientMessage(playerid, 0x63a74FF, "EROARE:NU AI SUFICIENTI BANII"); GivePlayerMoney(playerid, -400000); GivePlayerWeapon(playerid, 38, 100); SendClientMessage(playerid, 0x63a74FF, "AI PLATIT 400K SI AI PRIMIT UN UZI"); }
-
3 hours ago, TheGodfather said:
Thanks for the response, but could you explain what Streamer_Update does?
Updates streamer items. In our case - pickups.
Need know ORM(mysql)
in Cereri Tutoriale
Posted · Edited by Pa4enka
Your mistake is not that you don't know how to do it, but that you made a strategic mistake when planning your gamemode structure: I don't recommend using filterscripts as modules. You should use inludes and you won't have this problem...