04.05.2011, 11:59
Hello everybody, i dont get something in my GM.
This isnt working:
if (!strcmp("/sumo", cmdtext, true))
{
SetPlayerPosWithVehicle(playerid, 3099.2480, -2135.2482, 16.9685, cmdtext);
return 1;
}
But this works:
if (!strcmp("/andromada", cmdtext, true))
{
SetPlayerPosWithVehicle(playerid, -1698.4584, -185.6152, 14.1484, 178.3117, cmdtext);
return 1;
}
I get error C:\Users\Giovanni\Desktop\Samp server\gamemodes\1.0.pwn(1422) : error 035: argument type mismatch (argument 5)
And this is line 1422;
SetPlayerPosWithVehicle(playerid, 3099.2480, -2135.2482, 16.9685, cmdtext);
Please help me, i cant fix it
This isnt working:
if (!strcmp("/sumo", cmdtext, true))
{
SetPlayerPosWithVehicle(playerid, 3099.2480, -2135.2482, 16.9685, cmdtext);
return 1;
}
But this works:
if (!strcmp("/andromada", cmdtext, true))
{
SetPlayerPosWithVehicle(playerid, -1698.4584, -185.6152, 14.1484, 178.3117, cmdtext);
return 1;
}
I get error C:\Users\Giovanni\Desktop\Samp server\gamemodes\1.0.pwn(1422) : error 035: argument type mismatch (argument 5)
And this is line 1422;
SetPlayerPosWithVehicle(playerid, 3099.2480, -2135.2482, 16.9685, cmdtext);
Please help me, i cant fix it