error 1 help plz.
#1

PHP код:
rp.pwn(173) : error 010invalid function or declaration 
Line:
PHP код:
marker CreatePickup(131811654.0273,-1655.9581,22.5156);//(model,type,z,x,y); 
Reply
#2

public OnGameModeInit()
{
marker = (1318, 1, 1654.0273,-1655.9581,22.5156);// model,type,z,x,y
return 1;
}

{
mysql_connect(SQL_HOST, SQL_USER, SQL_DB, SQL_PASS);
mysql_debug(1); // Debugging enabled

SetGameModeText("Simple MySQL System");

print("=========================================== ==========================");
AddVehiclesFromFile();
AddPickupFromFile();
AddLabelsFromFile();
AddMapIconFromFile();
print("=========================================== ==========================\n");
return 0;
}
Reply
#3

On top
PHP код:
new marker
then
PHP код:
public OnGameModeInit()
{
marker CreatePickup(131811654.0273,-1655.9581,22.5156, -1);// model,type,z,x,y
return 1;

Reply
#4

i have it ..
Reply
#5

PHP код:
public OnGameModeInit()
{
marker = (131811654.0273,-1655.9581,22.5156);// model,type,z,x,y
return 1;
}
{
mysql_connect(SQL_HOSTSQL_USERSQL_DBSQL_PASS);
mysql_debug(1); // Debugging enabled
SetGameModeText("Simple MySQL System");
print(
"=========================================== ==========================");
AddVehiclesFromFile();
AddPickupFromFile();
AddLabelsFromFile();
AddMapIconFromFile();
print(
"=========================================== ==========================\n");
return 
0;

This is full code of this
Reply
#6

Код:
public OnGameModeInit()
{
marker = (1318, 1, 1654.0273,-1655.9581,22.5156);// model,type,z,x,y
//==========//
mysql_connect(SQL_HOST, SQL_USER, SQL_DB, SQL_PASS);
mysql_debug(1); // Debugging enabled

SetGameModeText("Simple MySQL System");

print("=========================================== ==========================");
AddVehiclesFromFile();
AddPickupFromFile();
AddLabelsFromFile();
AddMapIconFromFile();
print("=========================================== ==========================\n");
return 1;
}
Quote:
Originally Posted by IceBilizard
Посмотреть сообщение
On top
PHP код:
new marker
then
PHP код:
public OnGameModeInit()
{
marker CreatePickup(131811654.0273,-1655.9581,22.5156, -1);// model,type,z,x,y
return 1;

no need to redefine new marker;, he already defined that -_-
Reply
#7

Change it to this:

PHP код:
marker CreatePickup(131811654.0273,-1655.9581,22.5156, -1);// model,type,z,x,y 
You forgot this "-1"
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)