- 0
pawn compiler has stop working
-
Similar Content
-
- 6 replies
- 1.106 views
-
- 4 replies
- 708 views
-
- 70 replies
- 11.800 views
-
- 29 replies
- 4.830 views
-
- 42 replies
- 6.745 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.

Question
caltabos
Am incercat sa fac la un sistem de pet sa poti selecta ce animal vrei, dar cand compilez imi da pawn compiler has stop working nu vad ce limita am incalcat!
In gamemode:
} case 4:
format(string, sizeof(string), "{04d08c}Papagal.");
SetPlayerAttachedObject(playerid, 0, 19078, 17, 0.021065, -0.100726, 0.143000, 357.120239, 1.712298, 349.232513, 1.000000, 1.000000, 1.120420 );
Update(playerid, pPetTypex);
}
else {
format(string, sizeof(string), "{04d08c}Rechin.");
etPlayerAttachedObject(playerid, 1, 1608, 17, 0.021065, -0.100726, 0.143000, 357.120239, 1.712298, 349.232513, 1.000000, 1.000000, 1.120420 );
Update(playerid, pPetTypex);
}
else {
format(string, sizeof(string), "{04d08c}Hipopotam.");
SetPlayerAttachedObject(playerid, 2, 1371, 17, 0.021065, -0.100726, 0.143000, 357.120239, 1.712298, 349.232513, 1.000000, 1.000000, 1.120420 );
Update(playerid, pPetTypex);
}
}
Culoare langa: "%s" am pus "{04d08c}%s" (la mai multe linii)
Din asta: format(string, sizeof(string), " {6AD439}%s{FFFFFF} - level {6AD439}%d{FFFFFF}",PlayerInfo[playerid][pPetName],PlayerInfo[playerid][pPetLevel]);
In asta: format(string, sizeof(string), " {6AD439}%s{FFFFFF} - lvl {6AD439}%d{FFFFFF}",PlayerInfo[playerid][pPetName],PlayerInfo[playerid][pPetLevel]);
Asta(tot asta la inca o comanda "/pet"): format(string, sizeof(string),"Status\t{0ba900}Trezit\nNume pet\t{26B309}%s\nBeneficii pet\nUpgradeaza pet\t%d/120 pet points\nTip Pet",PlayerInfo[playerid][pPetName],PlayerInfo[playerid][pPetPoints][pPetType]);
La pInfo am adaugat pPetType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Si in folderul systems.inc:
case pPetTypex: format(var, sizeof(var), "UPDATE `users` SET `PetType`='%d' WHERE `ID`='%d'",PlayerInfo[playerid][pPetType], PlayerInfo[playerid][pSQLID]);
#define pPetTypex 91
si imi da asta cand compilez:
=======================================
Pawno compiler has stop working!
===================================
[Finished in 28.5s with exit code 3221225477]
[cmd: ['pawncc.exe', '-i includes', 'E:\\Gamemodes\\burned.ro\\gamemodes\\GM.pwn', '-;+']]
[dir: E:\Gamemodes\burned.ro\gamemodes]
[path: C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\]
Edited by caltabos0 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now