Ez a text file:
0|The State|Cluckin\' Bell|No-one|928.911010|-1352.995849|13.343791|365.779296|-9.169898|1001.851623|5|325000|0|0|1|9|491|500|100|0|20
0|The State|Cluckin\' Bell|No-one|2398.624023|-1899.201416|13.546895|365.779296|-9.169898|1001.851623|5|350000|0|0|1|9|489|500|100|1|20
0|The State|Burger Shot|No-one|810.484924|-1616.245117|13.546895|366.032409|-72.639999|1001.507812|5|300000|0|0|1|10|499|500|100|2|21
0|The State|Burger Shot|No-one|1199.247680|-918.144714|43.123298|366.032409|-72.639999|1001.507812|5|325000|0|0|1|10|493|500|100|3|21
0|The State|Pizza Stack|No-one|2105.485839|-1806.472534|13.554697|372.411712|-130.457702|1001.492187|5|300000|500|0|1|5|499|500|100|4|22
0|The State|Pizza Stack|No-one|203.514007|-202.257797|1.578099|372.411712|-130.457702|1001.492187|5|325000|0|0|1|5|498|500|100|5|22
0|The State|Jim Sticky\'s|No-one|1038.029785|-1339.996704|13.736100|377.172393|-193.304504|1000.632812|5|375000|0|0|1|17|499|500|100|6|30
0|The State|24-7|No-one|-2441.974853|754.013488|35.178600|-25.132600|-139.067001|1003.546875|5|350000|0|0|1|16|498|500|100|7|12
0|The State|24-7|No-one|1000.586120|-919.883178|42.328098|-28.261899|-31.767400|1003.557312|5|355000|0|0|1|4|498|500|100|8|12
1|Bolyki_Sandor|24-7|No-one|1352.119384|-1759.253417|13.507800|-27.391899|-58.252899|1003.546875|5|360000|0|0|1|6|484|500|100|9|12
0|The State|24-7|No-One|1833.612426|-1842.496826|13.578100|-30.929899|-92.011398|1003.546875|5|365000|0|0|0|18|497|500|100|10|12
0|The State|Pig Pen|No-One|2421.499755|-1219.243774|25.561700|1204.846191|-13.852100|1000.921875|5|400000|0|0|0|2|499|500|100|11|17
0|The State|Ten Green|No-One|2310.018310|-1643.466918|14.826992|501.870788|-67.582000|998.757812|5|350000|0|0|0|11|499|500|100|12|26
0|The State|Alhambra|No-One|1836.406372|-1682.440307|13.349300|493.439300|-24.916900|1000.671875|5|400000|0|0|0|17|490|500|100|13|18
0|The State|Gym|No-One|2229.901123|-1721.258178|13.561300|772.359375|-5.515697|1000.728576|5|400000|0|0|0|5|492|500|100|14|15
0|The State|Sex Shop|No-One|1940.486694|-2116.039062|13.695300|-100.295700|-24.654399|1000.718811|5|350000|0|0|0|3|499|500|100|15|34
0|The State|Binco|No-One|2244.342285|-1665.554199|15.476593|207.766204|-111.266296|1005.132812|5|600000|0|0|0|15|498|500|100|16|16
0|The State|Ammunation|No-one|1368.255249|-1279.927001|13.546895|315.762786|-143.661193|999.601623|5|2|0|0|1|7|486|500|100|17|13
0|The State|Ammunation|No-One|2400.517578|-1981.995483|13.546895|316.443115|-169.932998|999.601013|5|600000|0|0|0|6|499|500|100|18|14
0|The State|Sex Shop|No-One|1087.593750|-923.270019|43.390598|-100.295700|-24.654399|1000.718811|5|400000|0|0|0|3|499|500|100|19|34
0|The State|Sex Shop|No-One|953.915283|-1335.991577|13.538900|-100.295700|-24.654399|1000.718811|5|450000|0|0|0|3|498|500|100|20|34
0|The State|Bar|No-One|364.442413|-2051.377685|8.015600|501.870788|-67.582000|998.757812|5|350000|0|0|0|11|499|500|100|21|26
0|The State|Disco|No-One|816.050598|-1387.092041|13.609189|493.439300|-24.916900|1000.671875|5|350000|0|0|0|17|495|500|100|22|18
0|The State|Restaurant|No-one|1498.401855|-1581.887329|13.549798|460.265411|-88.611503|999.554687|5|300000|0|0|1|4|493|500|100|23|38
0|The State|Restaurant|No-one|1015.725585|-1508.778442|13.535696|460.265411|-88.611503|999.554687|5|300000|0|0|1|4|495|500|100|24|38
0|The State|Restaurant|No-one|1095.607177|-1428.652709|22.771999|460.265411|-88.611503|999.554687|5|300000|0|0|1|4|495|500|100|25|38
0|The State|ZIP|No-One|2244.342285|-1665.554199|15.476593|161.410293|-96.687202|1001.804687|5|400000|0|0|0|18|498|500|100|26|36
0|The State|ZIP|No-one|1456.467041|-1137.610351|23.948299|161.410293|-96.687202|1001.804687|5|450000|0|0|1|18|499|500|100|27|36
0|The State|Victim|No-one|461.007385|-1500.966674|31.058200|227.342803|-8.243800|1002.210876|5|500000|0|0|1|5|499|500|100|28|37
0|The State|Sub Urban|No-one|2112.902832|-1212.543701|23.964500|203.895294|-50.656700|1001.804687|5|400000|0|0|1|1|498|500|100|29|35
Ez a pwn-böl a biznisz script:
if(strcmp(cmd, \"/bizname\", true) == 0)
{
if(IsPlayerConnected(playerid))
{
new length = strlen(cmdtext);
while ((idx < length) && (cmdtext[idx] <= \' \'))
{
idx++;
}
new offset = idx;
new result[128];
while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
{
result[idx - offset] = cmdtext[idx];
idx++;
}
result[idx - offset] = EOS;
if(!strlen(result))
{
SendClientMessage(playerid, COLOR_WHITE, \"USAGE: /bizname [Name]\");
}
for(new i = 0; i < sizeof(BizzInfo); i++)
{
if (IsPlayerInRangeOfPoint(playerid, 5,BizzInfo[bEntranceX], BizzInfo[bEntranceY], BizzInfo[bEntranceZ]))
{
if(egyezik(PlayerName(playerid), BizzInfo[bOwner]))
{
strmid(BizzInfo[bMessage], result, 0, 64, 255);
format(string, sizeof(string), \"Az üzleted neve mostantól: %s\",BizzInfo[bMessage]);
OnPropUpdate(2);
SendClientMessage(playerid, COLOR_WHITE, string);
}
}
else
{
Msg(playerid,\"Nem vagy az üzleted bejáratánál.\");
return 1;
}
}
}
return 1;
}
És az a bajom minden biznisz parancsnál,pl, /bizname rossz azt irja nem vagy az üzleted bejáratánál!
[mod][*code][/*code]tagek használata kötelezõ![/mod]