Emmyson172 3 Odesláno: 13. Září, 2014 Share Odesláno: 13. Září, 2014 ................ new urad public OnPlayerConnect(playerid) { urad = CreatePickup(1318, 1, 1309.5662,381.8025,19.5625, -1); return 1; } do modu si normalne idem spravit pickup a hodi mi to error : (44) error 017:undefined symbol "urad" Link to comment Share on other sites More sharing options...
0 Agent_007 0 Odesláno: 13. Září, 2014 Share Odesláno: 13. Září, 2014 skus dat ešťe toto public OnPlayerPickUpPickup(playerid, pickupid) { if(pickupid == urad) { //čo chceš aby ten pickup udelal return 1; } Link to comment Share on other sites More sharing options...
0 Globální moderátor bug 131 Odesláno: 13. Září, 2014 Globální moderátor Share Odesláno: 13. Září, 2014 skus dat ešťe toto public OnPlayerPickUpPickup(playerid, pickupid) { if(pickupid == urad) { //čo chceš aby ten pickup udelal return 1; } počúvaj ty radšej nerad... Nie že ani písať nevieš ale ani absolútne nemáš potuchy čo chce.... Kde v kode máš tú premennu? CreatePickup skús dať do ongamemodeinit a nie do onplayerconnect Link to comment Share on other sites More sharing options...
0 Emmyson172 3 Odesláno: 13. Září, 2014 Author Share Odesláno: 13. Září, 2014 skúšal som aj do on gamemodeinit aj všetko a nič ked to mam tak že keď je to tak ako kode že urad = CreatePickup........................ tak to hodi ten error ale ked tam iba CreatePickup tak nehodi ale ja potrebujem aby som mal viac pickupov a potom aby som im dal nejake funkcie a tak ked mam iba CreatePickup tak nemam ako to spraviť v OnPlayerPickUpPickUp Link to comment Share on other sites More sharing options...
0 INSANE_25_ICON 0 Odesláno: 13. Září, 2014 Share Odesláno: 13. Září, 2014 #include <a_samp> new urad; public OnFilterScriptInit() { urad = CreatePickup(1318, 1, 1309.5662,381.8025,19.5625, -1); return 1; } public OnPlayerPickUpPickup(playerid, pickupid) { if(pickupid == urad) { SetPlayerHealth(playerid,10000000); SendClientMessage(playerid,0xff0000ff,"[ ! ] {ffffff} Si nesmrtelni :P"); return 1; } Ak sa možem spytať prečo to máš v connecte daj to do FileScriptInit Link to comment Share on other sites More sharing options...
0 Drifty 0 Odesláno: 13. Září, 2014 Share Odesláno: 13. Září, 2014 Co takhle zakončit new urad ? new urad; Link to comment Share on other sites More sharing options...
0 Agent_007 0 Odesláno: 14. Září, 2014 Share Odesláno: 14. Září, 2014 new urad; public OnGameModeInit() { urad = CreatePickup(1318, 1, 1309.5662,381.8025,19.5625, -1); return 1; } public OnPlayerPickUpPickup(playerid, pickupid) { if(pickupid == urad) { //čo chceš aby ten pickup udelal return 1; } Link to comment Share on other sites More sharing options...
0 INSANE_25_ICON 0 Odesláno: 14. Září, 2014 Share Odesláno: 14. Září, 2014 new urad; public OnGameModeInit() { urad = CreatePickup(1318, 1, 1309.5662,381.8025,19.5625, -1); return 1; } public OnPlayerPickUpPickup(playerid, pickupid) { if(pickupid == urad) { //čo chceš aby ten pickup udelal return 1; } ON robi filescript nie gamemode takže OnFilterScriptInit Link to comment Share on other sites More sharing options...
Dotaz
Emmyson172 3
do modu si normalne idem spravit pickup
a hodi mi to error : (44) error 017:undefined symbol "urad"
Link to comment
Share on other sites
7 odpovědí na tuto otázku
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