m_WorldBounds[0] = 20000.0f;m_WorldBounds[1] = -20000.0f;m_WorldBounds[2] = 20000.0f;m_WorldBounds[3] = -20000.0f;if(pGame->GetActiveInterior() != 0) return; // can\'t enforce inside interiorif(m_pPlayerPed->EnforceWorldBoundries(pNetGame->m_WorldBounds[0],pNetGame->m_WorldBounds[1],pNetGame->m_WorldBounds[2],pNetGame->m_WorldBounds[3])){m_pPlayerPed->SetArmedWeapon(0);pGame->DisplayGameText(\"Stay within the ~r~world boundries\",1000,5);}
Stay within the ~r~world boundries [/quote]Na ezt írja ki mikor valahogy \"kikerülök a világból\"
Stay within the ~r~world boundries
public JarmuMent(vehicleid){GetVehiclePos(vehicleid, JarmuInfo[vehicleid][JPosX], JarmuInfo[vehicleid][JPosY], JarmuInfo[vehicleid][JPosZ]);GetVehicleZAngle(vehicleid, JarmuInfo[vehicleid][JPosR]);format(Query, sizeof(Query), \"UPDATE `jarmuvek` SET `model` = \'%d\', `posx` = \'%f\', `posy` = \'%f\', `posz` = \'%f\', `posr` = \'%f\', `jposx` = \'%f\', `jposy` = \'%f\', `jposz` = \'%f\', `jposr` = \'%f\', `szin1` = \'%d\', `szin2` = \'%d\', `tulaj` = \'%s\', `frakcio` = \'%d\' WHERE `id` = \'%d\'\", JarmuInfo[vehicleid][Model], JarmuInfo[vehicleid][PosX], JarmuInfo[vehicleid][PosY], JarmuInfo[vehicleid][PosZ], JarmuInfo[vehicleid][PosR], JarmuInfo[vehicleid][JPosX], JarmuInfo[vehicleid][JPosY], JarmuInfo[vehicleid][JPosZ], JarmuInfo[vehicleid][JPosR], JarmuInfo[vehicleid][szin1], JarmuInfo[vehicleid][szin2], JarmuInfo[vehicleid][Tulaj], JarmuInfo[vehicleid][Frakcio], vehicleid);mysql_query(Query);}
ngrp.pwn(1087) : error 075: input line too long (after substitutions)ngrp.pwn(1088) : error 017: undefined symbol \"Jarm\"ngrp.pwn(1089) : warning 217: loose indentationngrp.pwn(1089) : error 017: undefined symbol \"uInfo\"ngrp.pwn(1089) : warning 215: expression has no effectngrp.pwn(1089) : error 001: expected token: \";\", but found \"]\"ngrp.pwn(1089) : error 029: invalid expression, assumed zerongrp.pwn(1089) : fatal error 107: too many error messages on one line
public JarmuBetolt(vehicleid){new String[256];format(Query, sizeof(Query), \"SELECT * FROM jarmuvek WHERE id = \'%d\'\", vehicleid);mysql_query(Query);mysql_store_result();if(mysql_fetch_row_format(Line)){sscanf(Line, \"p<|>ddffffdds[32]d\", JarmuInfo[vehicleid][iD], JarmuInfo[vehicleid][Model], JarmuInfo[vehicleid][PosX], JarmuInfo[vehicleid][PosY], JarmuInfo[vehicleid][PosZ], JarmuInfo[vehicleid][PosR], JarmuInfo[vehicleid][szin1], JarmuInfo[vehicleid][szin2], JarmuInfo[vehicleid][Tulaj], JarmuInfo[vehicleid][Frakcio]);AddStaticVehicleEx(JarmuInfo[vehicleid][Model], JarmuInfo[vehicleid][PosX], JarmuInfo[vehicleid][PosY], JarmuInfo[vehicleid][PosZ], JarmuInfo[vehicleid][PosR], JarmuInfo[vehicleid][szin1], JarmuInfo[vehicleid][szin2], -1);format(String, sizeof(String), \"%d Jármû betöltve.\", vehicleid);print(String);}mysql_free_result();}
for(new i = 0; i < MAX_VEHICLES; i++){JarmuBetolt(i);}